Skip to content

Commit bfb52e0

Browse files
JRemitzclaude
andauthored
ci: enable Sigstore attestations for PyPI releases (#1)
Add attestations: true to pypa/gh-action-pypi-publish and attestations: write permission so each release generates verifiable Sigstore provenance tied to the GitHub Actions workflow. Co-authored-by: Claude <noreply@anthropic.com>
1 parent 15107d6 commit bfb52e0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
environment: release
1212
permissions:
1313
id-token: write
14+
attestations: write
1415

1516
steps:
1617
- uses: actions/checkout@v4
@@ -45,3 +46,5 @@ jobs:
4546

4647
- name: Publish to PyPI
4748
uses: pypa/gh-action-pypi-publish@release/v1
49+
with:
50+
attestations: true

0 commit comments

Comments
 (0)