From 4fb39a0940a6a0f87ac6ec344d4caff574208893 Mon Sep 17 00:00:00 2001 From: Aric Camarata Date: Tue, 1 Sep 2026 16:33:17 -0400 Subject: [PATCH] ci: add concurrency groups to cancel stale runs on re-push MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds cancel-in-progress concurrency to dependency-audit and generated-file-gate. ntv is a retired product so this is intentionally the minimum useful change: no consolidation attempted (generated-file-gate is the only trivial workflow, nothing else to fold it into) and no path filters added. dependabot-auto-merge is left alone (pull_request_target trap — ref resolves to base branch). Required check name 'pnpm audit' (job name in dependency-audit.yml) is unchanged. --- .github/workflows/dependency-audit.yml | 4 ++++ .github/workflows/generated-file-gate.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/dependency-audit.yml b/.github/workflows/dependency-audit.yml index 91fcb28..29c5cdc 100644 --- a/.github/workflows/dependency-audit.yml +++ b/.github/workflows/dependency-audit.yml @@ -10,6 +10,10 @@ on: schedule: - cron: '0 4 * * 1' # Weekly Monday 04:00 UTC +concurrency: + group: dependency-audit-${{ github.ref }} + cancel-in-progress: true + jobs: audit: name: pnpm audit diff --git a/.github/workflows/generated-file-gate.yml b/.github/workflows/generated-file-gate.yml index 0be61ed..b11f672 100644 --- a/.github/workflows/generated-file-gate.yml +++ b/.github/workflows/generated-file-gate.yml @@ -6,6 +6,10 @@ on: push: branches: [main] +concurrency: + group: generated-file-gate-${{ github.ref }} + cancel-in-progress: true + jobs: generated-file-gate: name: Block committed generated files