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 63ed3a93f..ef2d87b4c 100644 --- a/.github/workflows/apt.yml +++ b/.github/workflows/apt.yml @@ -5,6 +5,9 @@ on: - master - fluent-package-lts-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 74ea9c7c9..30be345a6 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -5,6 +5,9 @@ on: - master - fluent-package-lts-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 6d8045909..1281d8a9a 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -5,6 +5,9 @@ on: - master - fluent-package-lts-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 ffacb97ff..3ebf37fca 100644 --- a/.github/workflows/yum.yml +++ b/.github/workflows/yum.yml @@ -5,6 +5,9 @@ on: - master - fluent-package-lts-v5 pull_request: +concurrency: + group: ${{ github.head_ref || github.sha }}-${{ github.workflow }} + cancel-in-progress: true jobs: build: name: Build