Skip to content

Commit

Permalink
Update permissions in publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamRJensen committed Dec 11, 2024
1 parent eee16f8 commit 883eec0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Publish distributions to PyPI

permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout

# if this workflow is modified to be a generic CI workflow then
# add an if statement to the publish step so it only runs on tags.
on:
Expand Down

0 comments on commit 883eec0

Please sign in to comment.