diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-09-13 10:17:17 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2022-09-13 10:18:17 +0900 |
commit | 9179f666fbabfe244801060d76bb95de3831c217 (patch) | |
tree | a33db7bcc97bcb436ad40fa997e9dafa2d6ca065 /.github | |
parent | bc8bbd23ab7e2a2a008fba9c8b95a5f4b9c87743 (diff) | |
download | ruby-9179f666fbabfe244801060d76bb95de3831c217.tar.gz |
Configure auto_request_review for YJIT team
We need to use pull_request_target instead of pull_request to use secrets.
pull_request_target seems to be executed from the default branch, so
pushing this to master to test this.
Diffstat (limited to '.github')
-rw-r--r-- | .github/auto_request_review.yml | 9 | ||||
-rw-r--r-- | .github/workflows/auto_request_review.yml | 14 |
2 files changed, 23 insertions, 0 deletions
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 }} |