diff --git a/.github/workflows/build-test-macos.yml b/.github/workflows/build-test-macos.yml index 0082d86468..a5796dd342 100644 --- a/.github/workflows/build-test-macos.yml +++ b/.github/workflows/build-test-macos.yml @@ -15,6 +15,10 @@ on: - '**.md' - '.github/actions/spelling/**' - '.github/ISSUE_TEMPLATE/**' +# Cancel in-progress runs if a newer run is started on a given PR +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}} # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: diff --git a/.github/workflows/build-test-rhel8.yml b/.github/workflows/build-test-rhel8.yml index ce3e311ddc..20fb2b5c0f 100644 --- a/.github/workflows/build-test-rhel8.yml +++ b/.github/workflows/build-test-rhel8.yml @@ -15,6 +15,10 @@ on: - '**.md' - '.github/actions/spelling/**' - '.github/ISSUE_TEMPLATE/**' +# Cancel in-progress runs if a newer run is started on a given PR +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}} jobs: Framework: diff --git a/.github/workflows/build-test-rpi.yml b/.github/workflows/build-test-rpi.yml index 8bf4e079cd..4a81164df2 100644 --- a/.github/workflows/build-test-rpi.yml +++ b/.github/workflows/build-test-rpi.yml @@ -15,6 +15,11 @@ on: - '**.md' - '.github/actions/spelling/**' - '.github/ISSUE_TEMPLATE/**' +# Cancel in-progress runs if a newer run is started on a given PR +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}} + env: RPI_TOOLCHAIN_DIR: /tmp/rpi-toolchain DICTIONARY_PATH: build-artifacts/raspberrypi/RPI/dict/RPITopologyDictionary.json diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 04c115222c..16fc6bdd97 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -15,6 +15,10 @@ on: - '**.md' - '.github/actions/spelling/**' - '.github/ISSUE_TEMPLATE/**' +# Cancel in-progress runs if a newer run is started on a given PR +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}} # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: diff --git a/.github/workflows/cmake-test.yml b/.github/workflows/cmake-test.yml index 4c37026a91..06c4736756 100644 --- a/.github/workflows/cmake-test.yml +++ b/.github/workflows/cmake-test.yml @@ -13,7 +13,10 @@ on: - '**.md' - '.github/actions/spelling/**' - '.github/ISSUE_TEMPLATE/**' - +# Cancel in-progress runs if a newer run is started on a given PR +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}} # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: diff --git a/.github/workflows/codeql-jpl-standard.yml b/.github/workflows/codeql-jpl-standard.yml index 406d8d8248..599ef9dbe6 100644 --- a/.github/workflows/codeql-jpl-standard.yml +++ b/.github/workflows/codeql-jpl-standard.yml @@ -14,6 +14,10 @@ on: - '**.md' - '.github/actions/spelling/**' - '.github/ISSUE_TEMPLATE/**' +# Cancel in-progress runs if a newer run is started on a given PR +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}} jobs: analyze: diff --git a/.github/workflows/codeql-security-scan.yml b/.github/workflows/codeql-security-scan.yml index f0bff24226..795a4ac6c9 100644 --- a/.github/workflows/codeql-security-scan.yml +++ b/.github/workflows/codeql-security-scan.yml @@ -14,6 +14,10 @@ on: - '**.md' - '.github/actions/spelling/**' - '.github/ISSUE_TEMPLATE/**' +# Cancel in-progress runs if a newer run is started on a given PR +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}} jobs: analyze: diff --git a/.github/workflows/cppcheck-scan.yml b/.github/workflows/cppcheck-scan.yml index 2db17301b1..68f75e61d2 100644 --- a/.github/workflows/cppcheck-scan.yml +++ b/.github/workflows/cppcheck-scan.yml @@ -12,6 +12,10 @@ on: - '**.md' - '.github/actions/spelling/**' - '.github/ISSUE_TEMPLATE/**' +# Cancel in-progress runs if a newer run is started on a given PR +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}} jobs: cppcheck: diff --git a/.github/workflows/cpplint-scan.yml b/.github/workflows/cpplint-scan.yml index 13f949417e..d543bcd9c2 100644 --- a/.github/workflows/cpplint-scan.yml +++ b/.github/workflows/cpplint-scan.yml @@ -11,6 +11,10 @@ on: - '**.md' - '.github/actions/spelling/**' - '.github/ISSUE_TEMPLATE/**' +# Cancel in-progress runs if a newer run is started on a given PR +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}} jobs: cpplint: diff --git a/.github/workflows/ext-aarch64-linux-led-blinker.yml b/.github/workflows/ext-aarch64-linux-led-blinker.yml index 4bfb9cc5cc..0ede8afc2c 100644 --- a/.github/workflows/ext-aarch64-linux-led-blinker.yml +++ b/.github/workflows/ext-aarch64-linux-led-blinker.yml @@ -14,6 +14,10 @@ on: - '**.md' - '.github/actions/spelling/**' - '.github/ISSUE_TEMPLATE/**' +# Cancel in-progress runs if a newer run is started on a given PR +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}} env: AARCH64_TOOLCHAIN_DIR: /tmp/aarch64-toolchain diff --git a/.github/workflows/ext-build-examples-repo.yml b/.github/workflows/ext-build-examples-repo.yml index e1a8f14daf..8038323309 100644 --- a/.github/workflows/ext-build-examples-repo.yml +++ b/.github/workflows/ext-build-examples-repo.yml @@ -14,6 +14,10 @@ on: - '.github/actions/spelling/**' - '.github/ISSUE_TEMPLATE/**' - '.gitignore' +# Cancel in-progress runs if a newer run is started on a given PR +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}} jobs: get-branch: diff --git a/.github/workflows/ext-build-hello-world.yml b/.github/workflows/ext-build-hello-world.yml index 488ec174fb..54cea91f9a 100644 --- a/.github/workflows/ext-build-hello-world.yml +++ b/.github/workflows/ext-build-hello-world.yml @@ -13,6 +13,10 @@ on: - '**.md' - '.github/actions/spelling/**' - '.github/ISSUE_TEMPLATE/**' +# Cancel in-progress runs if a newer run is started on a given PR +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}} jobs: get-branch: diff --git a/.github/workflows/ext-build-led-blinker.yml b/.github/workflows/ext-build-led-blinker.yml index 507c348e12..e75fc297d0 100644 --- a/.github/workflows/ext-build-led-blinker.yml +++ b/.github/workflows/ext-build-led-blinker.yml @@ -13,6 +13,10 @@ on: - '**.md' - '.github/actions/spelling/**' - '.github/ISSUE_TEMPLATE/**' +# Cancel in-progress runs if a newer run is started on a given PR +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}} jobs: get-branch: diff --git a/.github/workflows/ext-build-math-comp.yml b/.github/workflows/ext-build-math-comp.yml index 2c021e8302..e4f5feed1b 100644 --- a/.github/workflows/ext-build-math-comp.yml +++ b/.github/workflows/ext-build-math-comp.yml @@ -13,6 +13,10 @@ on: - '**.md' - '.github/actions/spelling/**' - '.github/ISSUE_TEMPLATE/**' +# Cancel in-progress runs if a newer run is started on a given PR +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}} jobs: get-branch: diff --git a/.github/workflows/ext-cookiecutters-test.yml b/.github/workflows/ext-cookiecutters-test.yml index fdd559070f..8489754f14 100644 --- a/.github/workflows/ext-cookiecutters-test.yml +++ b/.github/workflows/ext-cookiecutters-test.yml @@ -11,6 +11,10 @@ on: - '**.md' - '.github/actions/spelling/**' - '.github/ISSUE_TEMPLATE/**' +# Cancel in-progress runs if a newer run is started on a given PR +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}} diff --git a/.github/workflows/ext-raspberry-led-blinker.yml b/.github/workflows/ext-raspberry-led-blinker.yml index 0bb527acae..6d1cfc8b61 100644 --- a/.github/workflows/ext-raspberry-led-blinker.yml +++ b/.github/workflows/ext-raspberry-led-blinker.yml @@ -14,6 +14,10 @@ on: - '**.md' - '.github/actions/spelling/**' - '.github/ISSUE_TEMPLATE/**' +# Cancel in-progress runs if a newer run is started on a given PR +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}} env: RPI_TOOLCHAIN_DIR: /tmp/rpi-toolchain diff --git a/.github/workflows/ext-raspberry-system-reference.yml b/.github/workflows/ext-raspberry-system-reference.yml index b0d0fe425f..12283af5ee 100644 --- a/.github/workflows/ext-raspberry-system-reference.yml +++ b/.github/workflows/ext-raspberry-system-reference.yml @@ -13,6 +13,10 @@ on: - '**.md' - '.github/actions/spelling/**' - '.github/ISSUE_TEMPLATE/**' +# Cancel in-progress runs if a newer run is started on a given PR +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}} env: RPI_TOOLCHAIN_DIR: /tmp/rpi-toolchain diff --git a/.github/workflows/fpp-tests.yml b/.github/workflows/fpp-tests.yml index c1b443316d..2beb5cb571 100644 --- a/.github/workflows/fpp-tests.yml +++ b/.github/workflows/fpp-tests.yml @@ -11,6 +11,10 @@ on: - '**.md' - '.github/actions/spelling/**' - '.github/ISSUE_TEMPLATE/**' +# Cancel in-progress runs if a newer run is started on a given PR +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}} jobs: fpptest: diff --git a/.github/workflows/fpp-to-json.yml b/.github/workflows/fpp-to-json.yml index f8cd078ef0..b4882f19de 100644 --- a/.github/workflows/fpp-to-json.yml +++ b/.github/workflows/fpp-to-json.yml @@ -11,6 +11,10 @@ on: - '**.md' - '.github/actions/spelling/**' - '.github/ISSUE_TEMPLATE/**' +# Cancel in-progress runs if a newer run is started on a given PR +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}} jobs: fpp-to-json-ref: diff --git a/.github/workflows/markdown-link-check.yml b/.github/workflows/markdown-link-check.yml index 75d82999f1..8fcc019b9e 100644 --- a/.github/workflows/markdown-link-check.yml +++ b/.github/workflows/markdown-link-check.yml @@ -5,6 +5,10 @@ on: branches: [devel, docs/new-website] pull_request: branches: [devel] +# Cancel in-progress runs if a newer run is started on a given PR +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}} jobs: markdown-link-check: diff --git a/.github/workflows/pip-check.yml b/.github/workflows/pip-check.yml index 81d6d1e06e..17bbd6e933 100644 --- a/.github/workflows/pip-check.yml +++ b/.github/workflows/pip-check.yml @@ -10,6 +10,10 @@ on: pull_request: paths: - 'requirements.txt' +# Cancel in-progress runs if a newer run is started on a given PR +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}} jobs: pip-install: diff --git a/.github/workflows/python-format.yml b/.github/workflows/python-format.yml index fe076f6dd3..6e146429a5 100644 --- a/.github/workflows/python-format.yml +++ b/.github/workflows/python-format.yml @@ -6,6 +6,10 @@ on: pull_request: # The branches below must be a subset of the branches above branches: [ devel, release/** ] +# Cancel in-progress runs if a newer run is started on a given PR +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}} jobs: format: