Skip to content

Commit 3523a0e

Browse files
JRemitzclaude
andauthored
ci: enable Sigstore attestations for PyPI releases (#21)
* test gpg * ci: enable Sigstore attestations for PyPI releases 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> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0d92748 commit 3523a0e

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
environment: release
1616
permissions:
1717
id-token: write
18+
attestations: write
1819

1920
steps:
2021
- uses: actions/checkout@v4
@@ -43,3 +44,5 @@ jobs:
4344

4445
- name: Publish to PyPI
4546
uses: pypa/gh-action-pypi-publish@release/v1
47+
with:
48+
attestations: true

test.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+

0 commit comments

Comments
 (0)