Skip to content

Commit

Permalink
chore: new way of checking branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
pawellewandowski98 committed Nov 7, 2024
1 parent cd3f148 commit 7c95d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
jobs:
goreleaser:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/fix/check-branch-in-release-action' }}
if: startsWith(github.ref, 'refs/tags/') && github.ref_name == 'refs/heads/fix/check-branch-in-release-action'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 7c95d26

Please sign in to comment.