Skip to content

Commit

Permalink
Run job only if tag is pushed
Browse files Browse the repository at this point in the history
  • Loading branch information
IljaN committed Dec 5, 2024
1 parent e1d3118 commit 50f00f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- completed
jobs:
publish-release:
if: ${{ github.event.workflow_run.conclusion == 'success' && startsWith(github.event.workflow_run.head_commit.message, 'refs/tags/') }}
if: startsWith(github.ref, 'refs/tags/')
name: "Publish release"
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit 50f00f1

Please sign in to comment.