Skip to content

Commit

Permalink
Write GitHub provenance for packages
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Oct 28, 2024
1 parent 3aab049 commit 714cdee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/pypi-package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Build & maybe upload PyPI package
name: Build & upload PyPI package

on:
push:
Expand All @@ -11,6 +11,7 @@ on:
workflow_dispatch:

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

Expand All @@ -31,6 +32,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 714cdee

Please sign in to comment.