diff --git a/.github/additional_reviewers_config.yaml b/.github/additional_reviewers_config.yaml new file mode 100644 index 0000000000..11177bb0e1 --- /dev/null +++ b/.github/additional_reviewers_config.yaml @@ -0,0 +1,10 @@ +files: + 'docs/sbp.pdf': + - swiftnav-adam + 'spec/yaml/swiftnav/sbp/*.yaml': + - swiftnav-adam + +options: + ignore_draft: true + ignored_keywords: + - DO NOT REVIEW diff --git a/.github/workflows/add_additional_reviewers.yaml b/.github/workflows/add_additional_reviewers.yaml new file mode 100644 index 0000000000..bef22bc795 --- /dev/null +++ b/.github/workflows/add_additional_reviewers.yaml @@ -0,0 +1,16 @@ +name: Add Additional Reviewers + +on: + pull_request: + types: [opened, synchronize, ready_for_review, reopened] + +jobs: + auto-request-review: + name: Add Additional Reviewers + runs-on: ubuntu-latest + steps: + - name: Request additional reviews based on supplied rules + uses: necojackarc/auto-request-review@v0.10.0 + with: + token: ${{ secrets.GH_TOKEN }} + config: .github/additional_reviewers_config.yaml