Skip to content

Commit 38de16a

Browse files
committed
ci: limit permissions for GitHub actions token
1 parent 477fa85 commit 38de16a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/test.yml

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
- run: npm test
2020
createComment:
2121
runs-on: ubuntu-latest
22+
permissions:
23+
issues: write # to be able to comment on released issues
24+
pull-requests: write # to be able to comment on released pull requests
2225
if: github.event_name == 'push'
2326
steps:
2427
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)