Skip to content

Commit

Permalink
Set explicit write permissions for publish step
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Borean <jborean93@gmail.com>
  • Loading branch information
jborean93 committed Aug 29, 2023
1 parent 7c95792 commit b71bf97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ jobs:

runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
id-token: write # Needed for OIDC publishing
contents: read|write # Needed for github-pages-deploy-action and other repo write tasks

steps:
- name: Check out code
Expand Down

0 comments on commit b71bf97

Please sign in to comment.