From 48f840cff89490b2a8bf87d03345beb7113eef0b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io>
Date: Thu, 27 Oct 2022 18:13:15 +0200
Subject: [PATCH] assign fricklerhandwerk for documentation releated PRs

---
 .github/assign-by-files.yml           |  5 +++++
 .github/workflows/assign-reviewer.yml | 12 ++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 .github/assign-by-files.yml
 create mode 100644 .github/workflows/assign-reviewer.yml

diff --git a/.github/assign-by-files.yml b/.github/assign-by-files.yml
new file mode 100644
index 000000000..f13b71776
--- /dev/null
+++ b/.github/assign-by-files.yml
@@ -0,0 +1,5 @@
+---
+# This files is used by https://github.com/marketplace/actions/auto-assign-reviewer-by-files
+# to assign maintainers
+"doc/**/*":
+  - fricklerhandwerk
diff --git a/.github/workflows/assign-reviewer.yml b/.github/workflows/assign-reviewer.yml
new file mode 100644
index 000000000..4371cbff4
--- /dev/null
+++ b/.github/workflows/assign-reviewer.yml
@@ -0,0 +1,12 @@
+name: "Auto Assign"
+on:
+  - pull_request
+
+jobs:
+  assign_reviewer:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: shufo/auto-assign-reviewer-by-files@v1.1.4
+        with:
+          config: ".github/assign-by-files.yml"
+          token: ${{ secrets.GITHUB_TOKEN }}