Skip to content

Commit 22836fe

Browse files
committed
Add permissions to CI workflow for automated release management and issue handling
1 parent bc4ba32 commit 22836fe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ jobs:
4141
needs: test
4242
runs-on: ubuntu-latest
4343
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
44+
permissions:
45+
contents: write # to create releases and push tags
46+
issues: write # to create issues on failure
47+
pull-requests: write # to comment on pull requests
48+
id-token: write # for npm provenance
4449

4550
steps:
4651
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)