Skip to content

Commit

Permalink
ci: use head_ref for concurrency group
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
alan-agius4 committed Sep 14, 2023
1 parent 48963fc commit e6e6d0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -9,7 +9,7 @@ on:
types: [opened, synchronize, reopened]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true

permissions: {}
Expand Down

0 comments on commit e6e6d0c

Please sign in to comment.