Skip to content

Commit 065245b

Browse files
committedJun 19, 2024··
Grant comment workflow permissions
Only grant the minimal permissions to write a comment on a pull-request.
1 parent ea1761c commit 065245b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎.github/workflows/comment.yml

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88

99
jobs:
1010
comment:
11+
permissions:
12+
pull-requests: write
1113
runs-on: ubuntu-latest
1214
if: >
1315
github.event.workflow_run.event == 'pull_request' &&

0 commit comments

Comments
 (0)
Please sign in to comment.