Skip to content

Commit

Permalink
Switch on GH provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Oct 26, 2024
1 parent ac2c7ff commit 5e21567
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pypi-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
workflow_dispatch:

permissions:
attestations: write
contents: read
id-token: write

Expand All @@ -26,6 +27,8 @@ jobs:
fetch-depth: 0

- uses: hynek/build-and-inspect-python-package@v2
with:
attest-build-provenance-github: 'true'

# Upload to Test PyPI on every commit on main.
release-test-pypi:
Expand Down

0 comments on commit 5e21567

Please sign in to comment.