diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 995fe25748..6c198943fa 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -5,6 +5,12 @@ on: branches: [main] paths-ignore: ['docs/**'] +# https://docs.github.com/en/actions/using-jobs/using-concurrency +concurrency: + # only cancel in-progress jobs or runs for the current workflow - matches against branch & tags + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: run-and-upload: diff --git a/.github/workflows/build_and_test_docker_on_pr.yml b/.github/workflows/build_and_test_docker_on_pr.yml index 0a318c059b..9078daefc9 100644 --- a/.github/workflows/build_and_test_docker_on_pr.yml +++ b/.github/workflows/build_and_test_docker_on_pr.yml @@ -12,6 +12,12 @@ on: path_ignore: - 'docs/**' +# https://docs.github.com/en/actions/using-jobs/using-concurrency +concurrency: + # only cancel in-progress jobs or runs for the current workflow - matches against branch & tags + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build-and-test: diff --git a/.github/workflows/ci-code.yml b/.github/workflows/ci-code.yml index f05672f896..b93f0a4dad 100644 --- a/.github/workflows/ci-code.yml +++ b/.github/workflows/ci-code.yml @@ -7,6 +7,12 @@ on: branches-ignore: [gh-pages] paths-ignore: ['docs/**'] +# https://docs.github.com/en/actions/using-jobs/using-concurrency +concurrency: + # only cancel in-progress jobs or runs for the current workflow - matches against branch & tags + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: check-requirements: diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 84ecbebc46..9ab273a6bd 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -13,6 +13,12 @@ on: - 'tests/storage/psql_dos/migrations/**' workflow_dispatch: +# https://docs.github.com/en/actions/using-jobs/using-concurrency +concurrency: + # only cancel in-progress jobs or runs for the current workflow - matches against branch & tags + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: tests: diff --git a/.github/workflows/rabbitmq.yml b/.github/workflows/rabbitmq.yml index c2f69cb06c..4cab93b8ac 100644 --- a/.github/workflows/rabbitmq.yml +++ b/.github/workflows/rabbitmq.yml @@ -7,6 +7,12 @@ on: branches-ignore: [gh-pages] paths-ignore: ['docs/**'] +# https://docs.github.com/en/actions/using-jobs/using-concurrency +concurrency: + # only cancel in-progress jobs or runs for the current workflow - matches against branch & tags + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: tests: diff --git a/.github/workflows/test-install.yml b/.github/workflows/test-install.yml index a4a647b760..305daccade 100644 --- a/.github/workflows/test-install.yml +++ b/.github/workflows/test-install.yml @@ -12,6 +12,12 @@ on: schedule: - cron: '30 02 * * *' # nightly build +# https://docs.github.com/en/actions/using-jobs/using-concurrency +concurrency: + # only cancel in-progress jobs or runs for the current workflow - matches against branch & tags + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: validate-dependency-specification: