From 4f71e9b2cd2b31ccd513fffd64b4dd79ccef5439 Mon Sep 17 00:00:00 2001 From: Brian O'Kelley Date: Sun, 3 May 2026 00:10:42 -0400 Subject: [PATCH] fix(ci): add concurrency group to cancel superseded runs on force-push MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Force-pushes triggered a new pull_request synchronize event while the previous run's lightweight jobs (conventional-commits, IPR) still held the free-tier runner slots. The 4-runner Test Python matrix for the new SHA was queued but never scheduled — the fast jobs always won. Required a manual close/reopen to retrigger. The concurrency block cancels in-progress runs for the same ref so the new SHA's matrix jobs get scheduled immediately. Closes #413 --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f27e5fb5..eaa982c8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,10 @@ on: pull_request: branches: [main] +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: true + jobs: test: name: Test Python ${{ matrix.python-version }}