Skip to content

Commit

Permalink
add proper permission during release
Browse files Browse the repository at this point in the history
  • Loading branch information
wordpressfan committed Jul 12, 2024
1 parent 4c1bb36 commit 7bf114f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: '20.x'
Expand Down

0 comments on commit 7bf114f

Please sign in to comment.