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/workflows/auto_request_review.yml | |
parent | bc8bbd23ab7e2a2a008fba9c8b95a5f4b9c87743 (diff) |
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/workflows/auto_request_review.yml')
-rw-r--r-- | .github/workflows/auto_request_review.yml | 14 |
1 files changed, 14 insertions, 0 deletions
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 }} |