Skip to content

Commit

Permalink
fix: fix main branch ref in concurrency expression
Browse files Browse the repository at this point in the history
  • Loading branch information
ismay committed Oct 8, 2024
1 parent 1864e86 commit 734350e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
# Cancel previous runs if not on a release branch
cancel-in-progress: ${{ !contains(fromJSON('["refs/heads/master", "ref/heads/main"]'), github.ref) }}
cancel-in-progress: ${{ !contains(fromJSON('["refs/heads/master", "refs/heads/main"]'), github.ref) }}

jobs:
lint-commits:
Expand Down

0 comments on commit 734350e

Please sign in to comment.