mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 12:17:58 +00:00
Update review-trigger.yml (#4137)
Followup after https://github.com/paritytech/polkadot-sdk/pull/3431 Per https://stackoverflow.com/questions/63188674/github-actions-detect-author-association and https://michaelheap.com/github-actions-check-permission/ looks like just checking NOT a MEMBER is not correct, Not a CONTRIBUTORs check should be included
This commit is contained in:
@@ -35,6 +35,7 @@ jobs:
|
||||
github.event_name == 'pull_request_target' &&
|
||||
github.event.action == 'synchronize' &&
|
||||
github.event.sender.login == github.event.pull_request.user.login &&
|
||||
github.event.pull_request.author_association != 'CONTRIBUTOR' &&
|
||||
github.event.pull_request.author_association != 'MEMBER'
|
||||
run: |
|
||||
echo "User's association is ${{ github.event.pull_request.author_association }}"
|
||||
|
||||
Reference in New Issue
Block a user