Skip to content

Commit

Permalink
ci: Add condition to sign GitHub release only for tagged releases
Browse files Browse the repository at this point in the history
  • Loading branch information
ctoth committed Dec 11, 2024
1 parent 11e4056 commit 7057625
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ jobs:

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

0 comments on commit 7057625

Please sign in to comment.