From b249fa9ea8d1c2cc5d2df629c31919c0815691d3 Mon Sep 17 00:00:00 2001 From: jneira <atreyu.bbb@gmail.com> Date: Thu, 24 Feb 2022 11:22:09 +0100 Subject: [PATCH] Use ref instead head_ref to cancelling jobs --- .github/workflows/bootstrap.yml | 2 +- .github/workflows/linux.yml | 2 +- .github/workflows/macos.yml | 2 +- .github/workflows/quick-jobs.yml | 2 +- .github/workflows/users-guide.yml | 2 +- .github/workflows/windows.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/bootstrap.yml b/.github/workflows/bootstrap.yml index bcec1642505..d636c1afbd1 100644 --- a/.github/workflows/bootstrap.yml +++ b/.github/workflows/bootstrap.yml @@ -2,7 +2,7 @@ name: Bootstrap # See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency. concurrency: - group: ${{ github.head_ref }}-${{ github.workflow }} + group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true on: diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 615f02e43f1..d1cb868e7fb 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -2,7 +2,7 @@ name: Linux # See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency. concurrency: - group: ${{ github.head_ref }}-${{ github.workflow }} + group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true on: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 317ccb0fa67..f9a899f0965 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -2,7 +2,7 @@ name: MacOS # See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency. concurrency: - group: ${{ github.head_ref }}-${{ github.workflow }} + group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true on: diff --git a/.github/workflows/quick-jobs.yml b/.github/workflows/quick-jobs.yml index 09decc369a7..64039e91fb1 100644 --- a/.github/workflows/quick-jobs.yml +++ b/.github/workflows/quick-jobs.yml @@ -2,7 +2,7 @@ name: Quick jobs # See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency. concurrency: - group: ${{ github.head_ref }}-${{ github.workflow }} + group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true on: diff --git a/.github/workflows/users-guide.yml b/.github/workflows/users-guide.yml index b5aac8796f5..48e2171233c 100644 --- a/.github/workflows/users-guide.yml +++ b/.github/workflows/users-guide.yml @@ -4,7 +4,7 @@ name: Users guide # See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency. concurrency: - group: ${{ github.head_ref }}-${{ github.workflow }} + group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true on: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 0314ed107b6..421539b0a67 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -2,7 +2,7 @@ name: Windows # See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency. concurrency: - group: ${{ github.head_ref }}-${{ github.workflow }} + group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true on: