Skip to content

Commit

Permalink
update publish permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
zachariahmiller authored Oct 4, 2024
1 parent 0685c7c commit 6b90e56
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
run: echo "release_created=${{ steps.tag.outputs.release_created || false }}" >> $GITHUB_OUTPUT

publish:
permissions:
contents: read # Allows reading the content of the repository.
packages: write # Allows reading the content of the repository's packages.
id-token: write
needs: tag-new-version
if: ${{ needs.tag-new-version.outputs.release_created == 'true' }}
strategy:
Expand Down

0 comments on commit 6b90e56

Please sign in to comment.