Skip to content

Commit

Permalink
Added correct permissions for publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
uchendui committed Sep 6, 2024
1 parent 4810b30 commit e2dd6be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:

publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
needs:
- build-wheels
if: github.event_name == 'release' && github.event.action == 'published' && github.event.release.prerelease == false
Expand Down

0 comments on commit e2dd6be

Please sign in to comment.