From 38be016452bf7bcbfd6cb6f1b2609c20fa8175fd Mon Sep 17 00:00:00 2001 From: George Cushen Date: Tue, 21 Oct 2025 22:45:52 +0100 Subject: [PATCH] ci(build-starters-matrix): prevent spurious cancellations by scoping concurrency per workflow+PR and restricting PR event types --- .github/workflows/ci-build-starters-matrix.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-build-starters-matrix.yml b/.github/workflows/ci-build-starters-matrix.yml index 3da70ca2..5e76d862 100644 --- a/.github/workflows/ci-build-starters-matrix.yml +++ b/.github/workflows/ci-build-starters-matrix.yml @@ -18,6 +18,11 @@ on: - ".stylelintrc.yaml" - "vite.config.js" pull_request: + types: + - opened + - reopened + - synchronize + - ready_for_review paths: - "modules/**" - "starters/**" @@ -33,7 +38,7 @@ permissions: contents: read concurrency: - group: starters-${{ github.ref }} + group: starters-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true env: