From 3b6b9f3e4849b1c5fccf20c0f686a9dd1c5ed8e3 Mon Sep 17 00:00:00 2001 From: Ludy87 Date: Fri, 25 Jul 2025 22:16:55 +0200 Subject: [PATCH] `github.ref` --- .github/workflows/build.yml | 2 +- .github/workflows/check_properties.yml | 2 +- .github/workflows/licenses-update.yml | 2 +- .github/workflows/push-docker.yml | 2 +- .github/workflows/sonarqube.yml | 2 +- .github/workflows/swagger.yml | 2 +- .github/workflows/sync_files.yml | 2 +- .github/workflows/testdriver.yml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 591254ca6..db847f570 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ on: # This ensures that jobs are grouped by the workflow and branch, allowing for cancellation of # in-progress jobs when a new commit is pushed to the same branch or a new pull request is opened. concurrency: - group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name }} + group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name || github.ref }} cancel-in-progress: true permissions: diff --git a/.github/workflows/check_properties.yml b/.github/workflows/check_properties.yml index 5ff905f61..4ba927e3a 100644 --- a/.github/workflows/check_properties.yml +++ b/.github/workflows/check_properties.yml @@ -15,7 +15,7 @@ on: # This ensures that jobs are grouped by the workflow and branch, allowing for cancellation of # in-progress jobs when a new commit is pushed to the same branch or a new pull request is opened. concurrency: - group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name }} + group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name || github.ref }} cancel-in-progress: true permissions: diff --git a/.github/workflows/licenses-update.yml b/.github/workflows/licenses-update.yml index a976ff5b7..49486c4d5 100644 --- a/.github/workflows/licenses-update.yml +++ b/.github/workflows/licenses-update.yml @@ -16,7 +16,7 @@ on: # This ensures that jobs are grouped by the workflow and branch, allowing for cancellation of # in-progress jobs when a new commit is pushed to the same branch or a new pull request is opened. concurrency: - group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name }} + group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name || github.ref }} cancel-in-progress: true permissions: diff --git a/.github/workflows/push-docker.yml b/.github/workflows/push-docker.yml index 9fbbcdbe0..e3e7413be 100644 --- a/.github/workflows/push-docker.yml +++ b/.github/workflows/push-docker.yml @@ -16,7 +16,7 @@ on: # This ensures that jobs are grouped by the workflow and branch, allowing for cancellation of # in-progress jobs when a new commit is pushed to the same branch or a new pull request is opened. concurrency: - group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name }} + group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name || github.ref }} cancel-in-progress: true permissions: diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml index a5e1abfc6..b16037b47 100644 --- a/.github/workflows/sonarqube.yml +++ b/.github/workflows/sonarqube.yml @@ -18,7 +18,7 @@ on: # This ensures that jobs are grouped by the workflow and branch, allowing for cancellation of # in-progress jobs when a new commit is pushed to the same branch or a new pull request is opened. concurrency: - group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name }} + group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name || github.ref }} cancel-in-progress: true permissions: diff --git a/.github/workflows/swagger.yml b/.github/workflows/swagger.yml index 3d0cb286f..85a7f10f1 100644 --- a/.github/workflows/swagger.yml +++ b/.github/workflows/swagger.yml @@ -15,7 +15,7 @@ on: # This ensures that jobs are grouped by the workflow and branch, allowing for cancellation of # in-progress jobs when a new commit is pushed to the same branch or a new pull request is opened. concurrency: - group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name }} + group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name || github.ref }} cancel-in-progress: true permissions: diff --git a/.github/workflows/sync_files.yml b/.github/workflows/sync_files.yml index f292d5100..a76cd4acf 100644 --- a/.github/workflows/sync_files.yml +++ b/.github/workflows/sync_files.yml @@ -21,7 +21,7 @@ on: # This ensures that jobs are grouped by the workflow and branch, allowing for cancellation of # in-progress jobs when a new commit is pushed to the same branch or a new pull request is opened. concurrency: - group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name }} + group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name || github.ref }} cancel-in-progress: true permissions: diff --git a/.github/workflows/testdriver.yml b/.github/workflows/testdriver.yml index 312de9b45..cdb8b345d 100644 --- a/.github/workflows/testdriver.yml +++ b/.github/workflows/testdriver.yml @@ -13,7 +13,7 @@ on: # This ensures that jobs are grouped by the workflow and branch, allowing for cancellation of # in-progress jobs when a new commit is pushed to the same branch or a new pull request is opened. concurrency: - group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name }} + group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name || github.ref }} cancel-in-progress: true permissions: