From e6e6d0c6893f6f491f3903518121822c962fb019 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Thu, 14 Sep 2023 21:24:19 +0200 Subject: [PATCH] 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 https://github.com/angular/angular/pull/51784 to the CLI. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3bde988d83bc..6090bc816509 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: {}