diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 205a400753..fe4e757ef4 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -3,6 +3,10 @@ name: "Android" on: [push, pull_request] +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: true + jobs: test: name: "Test ${{ matrix.name }}" diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml index bbf3f4444d..a75c678e28 100644 --- a/.github/workflows/cifuzz.yml +++ b/.github/workflows/cifuzz.yml @@ -3,6 +3,10 @@ name: CIFuzz on: workflow_dispatch: +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: true + jobs: Fuzzing: runs-on: ubuntu-latest diff --git a/.github/workflows/cmake_config.yml b/.github/workflows/cmake_config.yml index ad1ad7500a..ed2c0afe70 100644 --- a/.github/workflows/cmake_config.yml +++ b/.github/workflows/cmake_config.yml @@ -2,6 +2,10 @@ name: cmake_config on: [push, pull_request] +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: true + jobs: cmake-check: defaults: diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 7b01aa4ce1..bb6a805be6 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -6,6 +6,10 @@ on: schedule: - cron: "0 0 * * *" # At 00:00 daily. +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: true + jobs: scan: name: "Scan" diff --git a/.github/workflows/fedora-rawhide.yml b/.github/workflows/fedora-rawhide.yml index 092a437151..86195d1cc5 100644 --- a/.github/workflows/fedora-rawhide.yml +++ b/.github/workflows/fedora-rawhide.yml @@ -5,6 +5,10 @@ on: schedule: - cron: "0 0 * * *" +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: true + permissions: contents: read diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index f9ec4da7af..c51ade2913 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -7,6 +7,10 @@ on: schedule: - cron: "0 0 * * *" # At 00:00 daily. +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: true + jobs: # Test against all supported architectures. test: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index f8636ff4d1..ae7b9f0ba4 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -7,6 +7,10 @@ on: schedule: - cron: "0 0 * * 0" # At 00:00 weekly on Sunday. +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: true + jobs: test: name: "${{ matrix.os }}/${{ matrix.arch }}" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8230b8222c..a146f5c202 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,10 @@ on: push: tags: [ "v*" ] +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: true + permissions: contents: write diff --git a/.github/workflows/rust-openssl.yml b/.github/workflows/rust-openssl.yml index ef5a7b1977..865219e4d6 100644 --- a/.github/workflows/rust-openssl.yml +++ b/.github/workflows/rust-openssl.yml @@ -6,6 +6,10 @@ on: schedule: - cron: "0 0 * * *" # At 00:00 daily. +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: true + jobs: test: name: "Test" diff --git a/.github/workflows/solaris.yml b/.github/workflows/solaris.yml index 2c6ee49ad4..69ae1471ff 100644 --- a/.github/workflows/solaris.yml +++ b/.github/workflows/solaris.yml @@ -6,6 +6,10 @@ on: schedule: - cron: "0 0 * * *" # At 00:00 daily. +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: true + jobs: test: name: "Solaris" diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index e68ef4d6d5..a78a1ed480 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -7,6 +7,10 @@ on: schedule: - cron: "0 0 * * 0" # At 00:00 weekly on Sunday. +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: true + jobs: test: name: "${{ matrix.os }}/${{ matrix.arch }} (${{ matrix.generator }})"