diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml index da33eece1..224e03940 100644 --- a/.github/workflows/code-coverage.yml +++ b/.github/workflows/code-coverage.yml @@ -3,6 +3,9 @@ on: pull_request: push: branches: [ master ] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: tests: name: Code Coverage Tests diff --git a/.github/workflows/compat-test.yml b/.github/workflows/compat-test.yml index 9e3f43208..8cd247c86 100644 --- a/.github/workflows/compat-test.yml +++ b/.github/workflows/compat-test.yml @@ -5,6 +5,9 @@ on: tags: - v* pull_request: {} +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: compat-test: name: Compat Test diff --git a/.github/workflows/endurance-test.yml b/.github/workflows/endurance-test.yml index 01d6c1149..545607525 100644 --- a/.github/workflows/endurance-test.yml +++ b/.github/workflows/endurance-test.yml @@ -7,6 +7,9 @@ on: schedule: # run every 2 hours - cron: '12 */2 * * *' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: endurance-test: env: diff --git a/.github/workflows/htmlui-tests.yml b/.github/workflows/htmlui-tests.yml index 50b0f8905..a8f3f0934 100644 --- a/.github/workflows/htmlui-tests.yml +++ b/.github/workflows/htmlui-tests.yml @@ -18,6 +18,9 @@ env: ENABLE_UNICODE_FILENAMES: ${{ secrets.ENABLE_UNICODE_FILENAMES }} # set (to any value other than false) to trigger very long filenames testing ENABLE_LONG_FILENAMES: ${{ secrets.ENABLE_LONG_FILENAMES }} +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: end-to-end-test: name: E2E Test diff --git a/.github/workflows/license-check.yml b/.github/workflows/license-check.yml index 513497ff1..78c20c8ea 100644 --- a/.github/workflows/license-check.yml +++ b/.github/workflows/license-check.yml @@ -3,6 +3,9 @@ on: pull_request: push: branches: [ master ] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: tests: name: License Check diff --git a/.github/workflows/make.yml b/.github/workflows/make.yml index 891fb34a5..64be79ed7 100644 --- a/.github/workflows/make.yml +++ b/.github/workflows/make.yml @@ -10,6 +10,9 @@ on: schedule: # run on Mondays at 8AM - cron: '0 8 * * 1' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true env: # environment variables shared between build steps # do not include sensitive credentials and tokens here, instead pass them diff --git a/.github/workflows/provider-tests.yml b/.github/workflows/provider-tests.yml index 690268bd6..566393ffa 100644 --- a/.github/workflows/provider-tests.yml +++ b/.github/workflows/provider-tests.yml @@ -7,6 +7,9 @@ on: schedule: # run once per day - cron: '19 7 * * *' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: endurance-test: name: Provider Test diff --git a/.github/workflows/race-detector.yml b/.github/workflows/race-detector.yml index 0cabca194..191ecdebc 100644 --- a/.github/workflows/race-detector.yml +++ b/.github/workflows/race-detector.yml @@ -3,6 +3,9 @@ on: pull_request: push: branches: [ master ] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: tests: name: Tests diff --git a/.github/workflows/stress-test.yml b/.github/workflows/stress-test.yml index 04da2556d..5c324e654 100644 --- a/.github/workflows/stress-test.yml +++ b/.github/workflows/stress-test.yml @@ -8,6 +8,9 @@ on: schedule: # run every 2 hours - cron: '12 */2 * * *' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: endurance-test: name: Stress Test diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 05c64fefd..ead2063a3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,6 +10,9 @@ on: schedule: # run on Mondays at 8AM - cron: '0 8 * * 1' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true env: # environment variables shared between build steps # do not include sensitive credentials and tokens here, instead pass them