Skip to content

Commit 157f790

Browse files
committed
Add provenance attestations.
1 parent 62d70f4 commit 157f790

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

+5
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ jobs:
7272
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
7373
permissions:
7474
id-token: write
75+
attestations: write
7576
contents: write
7677
steps:
7778
- name: Download artifacts
@@ -80,6 +81,10 @@ jobs:
8081
pattern: dist-*
8182
merge-multiple: true
8283
path: dist
84+
- name: Attest provenance
85+
uses: actions/attest-build-provenance@v1
86+
with:
87+
subject-path: dist/*
8388
- name: Upload to PyPI
8489
uses: pypa/gh-action-pypi-publish@release/v1
8590
- name: Create GitHub release

0 commit comments

Comments
 (0)