From cdb4ab946b126b22ee466c264059bc285249fce9 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 20 Jul 2026 22:07:22 +0000 Subject: [PATCH] ci: cancel in-progress E2E matrix runs on the same PR branch Add a concurrency group keyed by the target branch so rapid pushes to a pull request cancel the previous matrix run instead of spawning parallel 30-job suites. Scheduled and manual runs on main are unaffected (cancel-in-progress is PR-only). --- .github/workflows/e2e-tests-matrix.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/e2e-tests-matrix.yml b/.github/workflows/e2e-tests-matrix.yml index 374ed6a87..64bc2e261 100644 --- a/.github/workflows/e2e-tests-matrix.yml +++ b/.github/workflows/e2e-tests-matrix.yml @@ -1,5 +1,9 @@ name: "E2E tests Matrix" +concurrency: + group: e2e-tests-${{ github.event_name == 'pull_request' && github.head_ref || (github.event.inputs.pmm_qa_branch || github.ref_name) }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + on: pull_request: branches: