From 20a69db45a4e82e8b6f7de55d0fb25cc2eb3dfb3 Mon Sep 17 00:00:00 2001 From: SaW Date: Wed, 26 Feb 2025 18:57:31 +0100 Subject: [PATCH] Githubactions - Cancel workflow fix (#1029) Fix: Cancels the obsolete tasks as desired. --- .github/workflows/code_style.yml | 2 +- .github/workflows/core_build.yml | 2 +- .github/workflows/macos_build.yml | 2 +- .github/workflows/windows_build.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/code_style.yml b/.github/workflows/code_style.yml index 3c8e2cf2..7b1688fb 100644 --- a/.github/workflows/code_style.yml +++ b/.github/workflows/code_style.yml @@ -7,7 +7,7 @@ on: branches: [ "master" ] concurrency: - group: ${{ github.head_ref || github.run_id }} + group: "codestyle-${{ github.event.pull_request.number }}" cancel-in-progress: true jobs: diff --git a/.github/workflows/core_build.yml b/.github/workflows/core_build.yml index 99f195a8..5a6f83ab 100644 --- a/.github/workflows/core_build.yml +++ b/.github/workflows/core_build.yml @@ -7,7 +7,7 @@ on: branches: [ "master" ] concurrency: - group: ${{ github.head_ref || github.run_id }} + group: "core-build-${{ github.event.pull_request.number }}" cancel-in-progress: true jobs: diff --git a/.github/workflows/macos_build.yml b/.github/workflows/macos_build.yml index c3930f1e..d0e1a829 100644 --- a/.github/workflows/macos_build.yml +++ b/.github/workflows/macos_build.yml @@ -6,7 +6,7 @@ on: branches: [ "master" ] concurrency: - group: ${{ github.head_ref || github.run_id }} + group: "macos-build-${{ github.event.pull_request.number }}" cancel-in-progress: true jobs: diff --git a/.github/workflows/windows_build.yml b/.github/workflows/windows_build.yml index a4bc0f20..45a6c88b 100644 --- a/.github/workflows/windows_build.yml +++ b/.github/workflows/windows_build.yml @@ -6,7 +6,7 @@ on: branches: [ "master" ] concurrency: - group: ${{ github.head_ref || github.run_id }} + group: "windows-build-${{ github.event.pull_request.number }}" cancel-in-progress: true jobs: