Skip to content

Commit e6b0f62

Browse files
committed
fix: sign releases with Sigstore
More of a `ci:` but I want to trigger a release to confirm
1 parent b43718a commit e6b0f62

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/semantic-release.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,18 @@ jobs:
5959
fi
6060
exit $status
6161
62+
- name: Sign the release with Sigstore
63+
if: steps.release.outputs.released == 'true'
64+
uses: sigstore/gh-action-sigstore-python@v3.0.0
65+
with:
66+
inputs: dist/*
67+
6268
- name: Publish package distributions to PyPI
63-
uses: pypa/gh-action-pypi-publish@release/v1
6469
if: steps.release.outputs.released == 'true'
70+
uses: pypa/gh-action-pypi-publish@release/v1
6571

6672
- name: Publish package distributions to GitHub Releases
67-
uses: python-semantic-release/publish-action@v9.21.1
6873
if: steps.release.outputs.released == 'true'
74+
uses: python-semantic-release/publish-action@v9.21.1
6975
with:
7076
github_token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}

0 commit comments

Comments
 (0)