Skip to content

Commit 714cdee

Browse files
committed
Write GitHub provenance for packages
1 parent 3aab049 commit 714cdee

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: .github/workflows/pypi-package.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Build & maybe upload PyPI package
2+
name: Build & upload PyPI package
33

44
on:
55
push:
@@ -11,6 +11,7 @@ on:
1111
workflow_dispatch:
1212

1313
permissions:
14+
attestations: write
1415
contents: read
1516
id-token: write
1617

@@ -31,6 +32,8 @@ jobs:
3132
fetch-depth: 0
3233

3334
- uses: hynek/build-and-inspect-python-package@v2
35+
with:
36+
attest-build-provenance-github: 'true'
3437

3538
# Upload to Test PyPI on every commit on main.
3639
release-test-pypi:

0 commit comments

Comments
 (0)