Skip to content

Commit

Permalink
Only run release pipeline on new tag to main
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrik Sparre Spiegelhauer (HSPU) committed Mar 22, 2024
1 parent 6a4c1f1 commit cfea5db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/Release-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
release:
needs: [build, docs]
name: Release
if: github.event_name != 'pull_request'
if: github.event_name != 'pull_request' && startsWith(github.ref, 'refs/tags/v')
uses: ./.github/workflows/release.yaml

0 comments on commit cfea5db

Please sign in to comment.