Skip to content

Commit 40261bb

Browse files
authored
Merge pull request #2653 from rspec/ci-use-concurrency-fix
Fix for build auto-cancel: limit to only PRs
2 parents 1357926 + 037227d commit 40261bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
permissions:
1212
contents: read
1313
concurrency:
14-
group: ${{ github.workflow }}-${{ github.ref }}
14+
group: ${{ github.workflow }}-${{ github.github.head_ref || github.run_id }}
1515
cancel-in-progress: true
1616

1717
jobs:

0 commit comments

Comments
 (0)