Skip to content

Commit

Permalink
Add necessary permissions to the release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronDewes committed Apr 3, 2024
1 parent 5d35f6b commit e05bb31
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ name: Release
- next
- beta
- "*.x"
# These are recommended by the semantic-release docs: https://github.com/semantic-release/npm#npm-provenance
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance

jobs:
release:
name: release
Expand Down

0 comments on commit e05bb31

Please sign in to comment.