diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index d4883b5d0c9..dc23459e04e 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -11,7 +11,7 @@ on: - published concurrency: - group: docker-${{ github.ref }} + group: docker-${{ github.event_name == 'push' && github.sha || github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 7a51d67ae04..8f5ff033b3e 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -8,7 +8,7 @@ on: pull_request: {} concurrency: - group: linux-${{ github.ref }} + group: linux-${{ github.event_name == 'push' && github.sha || github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/rpm.yml b/.github/workflows/rpm.yml index 13022168e56..5cf8b10b068 100644 --- a/.github/workflows/rpm.yml +++ b/.github/workflows/rpm.yml @@ -8,7 +8,7 @@ on: pull_request: {} concurrency: - group: rpm-${{ github.ref }} + group: rpm-${{ github.event_name == 'push' && github.sha || github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 52a08fce8e8..18d8e5757b2 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -8,7 +8,7 @@ on: pull_request: {} concurrency: - group: windows-${{ github.ref }} + group: windows-${{ github.event_name == 'push' && github.sha || github.ref }} cancel-in-progress: true jobs: