diff --git a/.github/workflows/apt-arm.yml b/.github/workflows/apt-arm.yml index c3a7c89c4..fbffc60eb 100644 --- a/.github/workflows/apt-arm.yml +++ b/.github/workflows/apt-arm.yml @@ -1,6 +1,9 @@ name: Apt based Linux (AArch64) on: workflow_dispatch: +concurrency: + group: ${{ github.head_ref || github.sha }}-${{ github.workflow }} + cancel-in-progress: true jobs: build: name: Build diff --git a/.github/workflows/apt.yml b/.github/workflows/apt.yml index 390e528c1..cd1db22f7 100644 --- a/.github/workflows/apt.yml +++ b/.github/workflows/apt.yml @@ -5,6 +5,9 @@ on: - master - fluent-package-v5 pull_request: +concurrency: + group: ${{ github.head_ref || github.sha }}-${{ github.workflow }} + cancel-in-progress: true jobs: build: name: Build diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 7cfdf810e..5f1768ab7 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -5,6 +5,9 @@ on: - master - fluent-package-v5 pull_request: +concurrency: + group: ${{ github.head_ref || github.sha }}-${{ github.workflow }} + cancel-in-progress: true jobs: build: name: Build diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 1d414b0e5..8667ac70f 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -5,6 +5,9 @@ on: - master - fluent-package-v5 pull_request: +concurrency: + group: ${{ github.head_ref || github.sha }}-${{ github.workflow }} + cancel-in-progress: true jobs: build: name: Build diff --git a/.github/workflows/yum-arm.yml b/.github/workflows/yum-arm.yml index 0d0ada3d3..85bf679e9 100644 --- a/.github/workflows/yum-arm.yml +++ b/.github/workflows/yum-arm.yml @@ -1,6 +1,9 @@ name: Yum based Linux (AArch64) on: workflow_dispatch: +concurrency: + group: ${{ github.head_ref || github.sha }}-${{ github.workflow }} + cancel-in-progress: true jobs: build: name: Build diff --git a/.github/workflows/yum.yml b/.github/workflows/yum.yml index dc82acd8b..5fb358b12 100644 --- a/.github/workflows/yum.yml +++ b/.github/workflows/yum.yml @@ -5,6 +5,9 @@ on: - master - fluent-package-v5 pull_request: +concurrency: + group: ${{ github.head_ref || github.sha }}-${{ github.workflow }} + cancel-in-progress: true jobs: build: name: Build