diff --git a/.github/workflows/kernel.yml b/.github/workflows/kernel.yml index 6cff102091e..bc39eb359c5 100644 --- a/.github/workflows/kernel.yml +++ b/.github/workflows/kernel.yml @@ -21,6 +21,10 @@ on: permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + jobs: determine_targets: name: Set targets diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 7bcaa2b3d33..340ee0c2044 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -23,6 +23,10 @@ on: permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + jobs: build: name: Build Packages with external toolchain diff --git a/.github/workflows/toolchain.yml b/.github/workflows/toolchain.yml index d6abab4dec4..2a24d82e30f 100644 --- a/.github/workflows/toolchain.yml +++ b/.github/workflows/toolchain.yml @@ -15,6 +15,10 @@ on: permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + jobs: determine_targets: name: Set targets diff --git a/.github/workflows/tools.yml b/.github/workflows/tools.yml index 69ee456bce9..19c11f03a62 100644 --- a/.github/workflows/tools.yml +++ b/.github/workflows/tools.yml @@ -15,6 +15,10 @@ on: permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + jobs: build-macos-latest: name: Build tools with macos latest