Skip to content

Commit 7057625

Browse files
committed
ci: Add condition to sign GitHub release only for tagged releases
1 parent 11e4056 commit 7057625

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/publish-to-pypi.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ jobs:
8888

8989
github-release:
9090
name: Sign the Python 🐍 distribution 📦 with Sigstore and upload to GitHub Release
91+
if: startsWith(github.ref, 'refs/tags/') # Only run for tagged releases
9192
needs:
9293
- publish-to-pypi
9394
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)