Skip to content

Commit b04b1af

Browse files
committed
📦🔏 Sign dists via Sigstore upon release
1 parent 7f80f2b commit b04b1af

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/ci-cd.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
103103

104104
permissions:
105-
id-token: write # IMPORTANT: mandatory for trusted publishing
105+
id-token: write # IMPORTANT: mandatory for trusted publishing & sigstore
106106

107107
environment:
108108
name: pypi
@@ -135,3 +135,10 @@ jobs:
135135
- name: >-
136136
Publish 🐍📦 to PyPI
137137
uses: pypa/gh-action-pypi-publish@release/v1
138+
139+
- name: Sign the dists with Sigstore
140+
uses: sigstore/[email protected]
141+
with:
142+
inputs: >-
143+
./dist/*.tar.gz
144+
./dist/*.whl

0 commit comments

Comments
 (0)