Skip to content

Commit

Permalink
add write permission for attestation
Browse files Browse the repository at this point in the history
  • Loading branch information
zariiii9003 committed Nov 19, 2024
1 parent 3eeb856 commit 7fcd45c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,10 @@ jobs:
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
contents: write # for action-gh-release
attestations: write # for attest-build-provenance

# upload to PyPI only on release
if: github.event.release && github.event.action == 'published'
# upload to PyPI on new tag
if: startsWith(github.ref, 'refs/tags')
steps:
- uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit 7fcd45c

Please sign in to comment.