From 8ce919e8180c17205207934d179552791b27451b Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 9 Jun 2021 19:12:10 +0200 Subject: GitHub: Add workflow to auto assign reviewers --- .github/reviewers.yml | 34 ++++++++++++++++++++++++++++++++ .github/workflows/auto-author-assign.yml | 9 +++++++++ 2 files changed, 43 insertions(+) create mode 100644 .github/reviewers.yml (limited to '.github') 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 -- cgit v1.2.3