Skip to content

Commit d244699

Browse files
authored
chore: add missing permissions to publish job
1 parent 1f8d6a1 commit d244699

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ jobs:
8383

8484
release:
8585
if: ${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/main' || github.event.ref == 'refs/heads/4.x') }}
86+
permissions:
87+
contents: write # to be able to publish a GitHub release
88+
issues: write # to be able to comment on released issues
89+
pull-requests: write # to be able to comment on released pull requests
90+
id-token: write # to enable use of OIDC for npm provenance and publishing
8691
name: Release new version
8792
needs: [lint, test-node, test-os]
8893
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)