Skip to content

Commit eb79de2

Browse files
committed
ci: add github attestations
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent 5f93cf9 commit eb79de2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,20 @@ jobs:
1919
deploy:
2020
runs-on: ubuntu-latest
2121
if: startsWith(github.ref, 'refs/tags/v')
22+
permissions:
23+
attestations: write
24+
2225
steps:
2326
- uses: actions/download-artifact@v4
2427
with:
2528
name: Packages
2629
path: dist
2730

31+
- name: Generate artifact attestation for sdist and wheel
32+
uses: actions/attest-build-provenance@v2
33+
with:
34+
subject-path: "dist/*"
35+
2836
- name: Publish package
2937
uses: pypa/gh-action-pypi-publish@release/v1
3038
with:

0 commit comments

Comments
 (0)