Skip to content

Commit

Permalink
chore: refine token permissions in workflows (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbouffard authored Jul 21, 2023
1 parent af65ad9 commit 100bb41
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ on:
jobs:
build:
runs-on: ubuntu-22.04
permissions:
# SonarCloud: checks and pull-requests
checks: write
pull-requests: write
steps:
- uses: actions/checkout@v3
- name: Build Setup
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ jobs:
build:
runs-on: ubuntu-22.04
permissions:
# required for "npm provenance"
id-token: write
contents: write
steps:
Expand Down

0 comments on commit 100bb41

Please sign in to comment.