Skip to content

Commit

Permalink
Add token permissions to release workflow. (#192)
Browse files Browse the repository at this point in the history
Required for trusted publishing.
  • Loading branch information
di committed Jul 26, 2023
1 parent fc8d83e commit bae8ff4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
jobs:
build-and-publish:
runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit bae8ff4

Please sign in to comment.