From 040c0baaeee8127af0387844c4bed76f726a9f1f Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 28 Oct 2026 03:08:56 +0000 Subject: [PATCH] ci: let every Changelog guard run finish, so none is left cancelled Dependabot labels a pull request as it opens it, so one pull request starts several guard runs at once, and cancel-in-progress cancelled all but one. A cancelled run kept the required Changelog guard check from passing and held the merge until the cancelled runs were re-run. Each run reads only its own event and finishes in seconds, so the concurrency group goes and every run finishes. A job-level if that skips label events other than changelog would also avoid the extra runs, but a skipped job passes a required check, so an unrelated label added to a pull request that edits CHANGELOG.md would clear its failure. Signed-off-by: Louie Lu <48041247+lywinged@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01UtTRZHH7SXtpEikWace636 --- .github/workflows/changelog-guard.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/changelog-guard.yml b/.github/workflows/changelog-guard.yml index 54d693e0..17841e89 100644 --- a/.github/workflows/changelog-guard.yml +++ b/.github/workflows/changelog-guard.yml @@ -18,9 +18,13 @@ permissions: env: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" -concurrency: - group: changelog-guard-${{ github.ref }} - cancel-in-progress: true +# There is no concurrency group, on purpose. Dependabot labels a pull request as +# it opens it, so one pull request starts several runs at once, and with +# cancel-in-progress the cancelled ones kept this required check from passing and +# held the merge. Each run reads only its own event and takes seconds, so all of +# them finish. Nor does a job-level `if` skip label events other than +# `changelog`: a skipped run passes a required check, so any label added to a +# pull request that edits the file would clear its failure. jobs: guard: