diff --git a/.github/auto_request_review.yml b/.github/auto_request_review.yml new file mode 100644 index 0000000000..57fc5566d1 --- /dev/null +++ b/.github/auto_request_review.yml @@ -0,0 +1,9 @@ +files: + 'yjit*': [team:yjit] + 'yjit/*': [team:yjit] + 'doc/yjit/*': [team:yjit] + 'bootstraptest/test_yjit*': [team:yjit] + 'test/ruby/test_yjit*': [team:yjit] + '.github/workflows/yjit*': [team:yjit] +options: + ignore_draft: true diff --git a/.github/workflows/auto_request_review.yml b/.github/workflows/auto_request_review.yml new file mode 100644 index 0000000000..0fc3e9d852 --- /dev/null +++ b/.github/workflows/auto_request_review.yml @@ -0,0 +1,14 @@ +name: Auto Request Review +on: + pull_request_target: + types: [opened, synchronized, ready_for_review, reopened] +jobs: + auto-request-review: + name: Auto Request Review + runs-on: ubuntu-latest + steps: + - name: Request review based on files changes and/or groups the author belongs to + uses: necojackarc/auto-request-review@e08cdffa277d50854744de3f76230260e61c67f4 # v0.7.0, checking sha + with: + # scope: repo:status + token: ${{ secrets.MATZBOT_GITHUB_TOKEN }}