Skip to content

Commit

Permalink
Move permissions to publish job
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Symanowski committed Sep 13, 2024
1 parent f6ed810 commit 91fe9ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -22,6 +19,9 @@ jobs:
publish-npm:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down

0 comments on commit 91fe9ce

Please sign in to comment.