mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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.
This commit is contained in:
parent
bc8bbd23ab
commit
9179f666fb
2 changed files with 23 additions and 0 deletions
9
.github/auto_request_review.yml
vendored
Normal file
9
.github/auto_request_review.yml
vendored
Normal file
|
@ -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
|
14
.github/workflows/auto_request_review.yml
vendored
Normal file
14
.github/workflows/auto_request_review.yml
vendored
Normal file
|
@ -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 }}
|
Loading…
Add table
Reference in a new issue