Skip to content

Commit

Permalink
Fix: add permissions to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
lwasser authored Feb 26, 2024
1 parent ef85f62 commit 700d108
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
# This ensures that the publish action only runs in the main repository
# rather than forks
if: github.repository_owner == 'pyopensci'
permissions:
id-token: write # this permission is mandatory for pypi publishing
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit 700d108

Please sign in to comment.