diff --git a/.github/workflows/build-blog-only.yml b/.github/workflows/build-blog-only.yml index 8c112331e2..b71ee81622 100644 --- a/.github/workflows/build-blog-only.yml +++ b/.github/workflows/build-blog-only.yml @@ -7,6 +7,10 @@ on: paths: - packages/docusaurus/** +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + permissions: contents: read diff --git a/.github/workflows/build-perf.yml b/.github/workflows/build-perf.yml index 779c41c457..5af17ee4d8 100644 --- a/.github/workflows/build-perf.yml +++ b/.github/workflows/build-perf.yml @@ -12,6 +12,10 @@ on: paths-ignore: - website/docs/** +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + permissions: contents: read diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index b5e4c1120a..ef771aa139 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -10,6 +10,10 @@ on: schedule: - cron: 25 22 * * 3 +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: analyze: name: Analyze diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 302303abdd..6d20c67662 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -1,6 +1,10 @@ name: Dependency Review on: [pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + permissions: contents: read diff --git a/.github/workflows/lighthouse-report.yml b/.github/workflows/lighthouse-report.yml index cef4ee2beb..9a1a82dc90 100644 --- a/.github/workflows/lighthouse-report.yml +++ b/.github/workflows/lighthouse-report.yml @@ -5,6 +5,10 @@ on: branches: - main +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: lighthouse-report: name: Lighthouse Report diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4a614bdc26..de439908aa 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,6 +5,10 @@ on: branches: - main +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + permissions: contents: read diff --git a/.github/workflows/showcase-test.yml b/.github/workflows/showcase-test.yml index e51b9561d5..11488b1ac4 100644 --- a/.github/workflows/showcase-test.yml +++ b/.github/workflows/showcase-test.yml @@ -7,6 +7,10 @@ on: paths: - website/src/data/** +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + permissions: contents: read diff --git a/.github/workflows/tests-e2e.yml b/.github/workflows/tests-e2e.yml index 9fc086e800..eb1de1abb2 100644 --- a/.github/workflows/tests-e2e.yml +++ b/.github/workflows/tests-e2e.yml @@ -12,6 +12,10 @@ on: paths-ignore: - website/** +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + permissions: contents: read diff --git a/.github/workflows/tests-swizzle.yml b/.github/workflows/tests-swizzle.yml index 755312a8bb..9cb7c2cead 100644 --- a/.github/workflows/tests-swizzle.yml +++ b/.github/workflows/tests-swizzle.yml @@ -7,6 +7,10 @@ on: paths: - packages/** +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + permissions: contents: read diff --git a/.github/workflows/tests-windows.yml b/.github/workflows/tests-windows.yml index eda6c3f8c3..4601f1c66f 100644 --- a/.github/workflows/tests-windows.yml +++ b/.github/workflows/tests-windows.yml @@ -7,6 +7,10 @@ on: paths-ignore: - website/** +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + permissions: contents: read diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fdc3d9cee7..f184f3df98 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,6 +7,10 @@ on: paths-ignore: - website/** +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + permissions: contents: read