aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Gagarin <valentin.gagarin@tweag.io>2022-11-11 13:39:46 +0100
committerGitHub <noreply@github.com>2022-11-11 13:39:46 +0100
commitbb279257b3bf6a03f096dc346ad588e6faedd5fb (patch)
tree147923a94b2b43fbb41ee66f8a74c11b1e082ef8
parent9550b1d51933a51fbb21563db0e3f53d0e8faea8 (diff)
parent48f840cff89490b2a8bf87d03345beb7113eef0b (diff)
Merge pull request #7229 from Mic92/ci
Auto-assign reviewers by file
-rw-r--r--.github/assign-by-files.yml5
-rw-r--r--.github/workflows/assign-reviewer.yml12
2 files changed, 17 insertions, 0 deletions
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 }}