Skip to content

Commit

Permalink
ci: Add correct permission to release job
Browse files Browse the repository at this point in the history
  • Loading branch information
debjitbis08 committed Nov 11, 2024
1 parent 09d1f49 commit 5f86d95
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@ on:
- master # or main

permissions:
contents: read # for checkout
contents: write # for checkout

jobs:
release:
name: Release
runs-on: ubuntu-latest
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
strategy:
matrix:
node-version: [20] # Use the desired Node.js version
Expand Down

0 comments on commit 5f86d95

Please sign in to comment.