From ecd8164fd3de598c183a6caffd0c1e04c2588390 Mon Sep 17 00:00:00 2001 From: Luke Curley Date: Thu, 12 Nov 2026 15:30:48 -0800 Subject: [PATCH] ci: cancel superseded pull request runs A newer push to a PR left the older run holding a runner until it finished; the org shares a 60-job hosted-runner cap. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/check.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 7432ba3..d34f834 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -8,6 +8,11 @@ on: branches: ["main"] types: [opened, synchronize, reopened, ready_for_review] +# Cancel a superseded run so a newer push to the PR frees its runner. +concurrency: + group: check-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: check: name: Check