File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ jobs:
21
21
if : ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'issue_comment' && github.event.issue.pull_request && github.event.comment.body == 'run release_notes') }}
22
22
steps :
23
23
# Determine if the triggering_actor is allowed to run this action
24
- # We only permit admins
24
+ # We only permit maintainers
25
25
# Not only is 'triggering_actor' common between the trigger events it will also change if someone re-runs an old job
26
26
- name : check if triggering_actor is allowed to generate notes
27
27
env :
28
28
GITHUB_TOKEN : ${{ github.token }}
29
29
COMMENTER : ${{ github.triggering_actor && github.triggering_actor || 'empty_triggering_actor' }}
30
- API_ENDPOINT : /repos/${{ github.repository }}/collaborators?permission=admin
30
+ API_ENDPOINT : /repos/${{ github.repository }}/collaborators?permission=maintain
31
31
shell : bash
32
32
run : |
33
33
if [ $COMMENTER = "empty_triggering_actor" ]; then exit 1; fi
You can’t perform that action at this time.
0 commit comments