1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Drop synchronized event

because it doesn't seem to be working. It's a bit annoying that
synchronized doesn't work, but in many cases, opened and
ready_for_review should be enough. As a last resort, you could
close/reopen it.

Also, the token scope needs to be public_repo instead of repo:status.
This commit is contained in:
Takashi Kokubun 2022-09-13 10:38:10 +09:00
parent 64cd097009
commit 2e21fef6a4
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -1,7 +1,7 @@
name: Auto Request Review
on:
pull_request_target:
types: [opened, synchronized, ready_for_review, reopened]
types: [opened, ready_for_review, reopened]
jobs:
auto-request-review:
name: Auto Request Review
@ -10,5 +10,5 @@ jobs:
- 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
# scope: public_repo
token: ${{ secrets.MATZBOT_GITHUB_TOKEN }}