Skip to content

Commit

Permalink
ci: do not run release if it is not a tag
Browse files Browse the repository at this point in the history
  • Loading branch information
aignas committed Jan 10, 2024
1 parent 49f0120 commit 40f6bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
retention-days: 5

release:
if: ${{ github.event_name != 'pull_request' }}
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
needs: pkg
steps:
Expand Down

0 comments on commit 40f6bee

Please sign in to comment.