summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-09 19:12:10 +0200
committerChristian Poessinger <christian@poessinger.com>2021-06-09 19:12:10 +0200
commit8ce919e8180c17205207934d179552791b27451b (patch)
treef4cfb50667ce105dc07c2852434f437584ac7643 /.github
parentf8e98c459d8e558441a2dae869d15349d8badf35 (diff)
downloadvyos-1x-8ce919e8180c17205207934d179552791b27451b.tar.gz
vyos-1x-8ce919e8180c17205207934d179552791b27451b.zip
GitHub: Add workflow to auto assign reviewers
Diffstat (limited to '.github')
-rw-r--r--.github/reviewers.yml34
-rw-r--r--.github/workflows/auto-author-assign.yml9
2 files changed, 43 insertions, 0 deletions
diff --git a/.github/reviewers.yml b/.github/reviewers.yml
new file mode 100644
index 000000000..9ef3ec961
--- /dev/null
+++ b/.github/reviewers.yml
@@ -0,0 +1,34 @@
+---
+python/**:
+ - c-po
+ - dmbaturin
+ - jestabro
+
+interface-definitions/**:
+ - c-po
+ - DmitriyEshenko
+ - dmbaturin
+ - jestabro
+ - sever-sever
+ - zdc
+
+op-mode-definitions/**:
+ - c-po
+ - DmitriyEshenko
+ - dmbaturin
+ - jestabro
+ - sever-sever
+ - zdc
+
+src/**:
+ - c-po
+ - DmitriyEshenko
+ - dmbaturin
+ - jestabro
+ - sever-sever
+ - zdc
+
+.github/**:
+ - c-po
+ - dmbaturin
+ - UnicronNL
diff --git a/.github/workflows/auto-author-assign.yml b/.github/workflows/auto-author-assign.yml
index 464ec2e3c..947593fc1 100644
--- a/.github/workflows/auto-author-assign.yml
+++ b/.github/workflows/auto-author-assign.yml
@@ -14,3 +14,12 @@ jobs:
uses: toshimaru/auto-author-assign@v1.3.5
with:
token: ${{ secrets.GITHUB_TOKEN }}
+
+ assign_reviewer:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Request review based on files changes and/or groups the author belongs to
+ uses: shufo/auto-assign-reviewer-by-files@v1.1.1
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
+ config: .github/reviewers.yml