Skip to content

Commit 7801185

Browse files
committed
ci: use head_ref for concurrency group
Use the head_ref value for the concurrency group on `ci-privileged` rather than the ref, so that the main ref is not used and cancelling across pull requests and the main branch Backport angular/angular#51784 to the CLI. (cherry picked from commit e6e6d0c)
1 parent d8d116b commit 7801185

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
@@ -9,7 +9,7 @@ on:
99
types: [opened, synchronize, reopened]
1010

1111
concurrency:
12-
group: ${{ github.workflow }}-${{ github.ref }}
12+
group: ${{ github.workflow }}-${{ github.head_ref }}
1313
cancel-in-progress: true
1414

1515
permissions: {}

0 commit comments

Comments
 (0)