ci: add cancel-in-progress concurrency to PR helper workflows#40725
Merged
Conversation
pr-lint, the GitHub Actions validator, and the labeler all re-run on each push to a PR (synchronize) but had no concurrency group, so rapid pushes left superseded runs going to completion. Add the standard PR-keyed concurrency block (matching the rest of the workflows) so stale runs are cancelled. These are idempotent/last-run-wins workflows, so cancellation is safe. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
|
Bito Automatic Review Skipped - Files Excluded |
sadpandajoe
approved these changes
Jun 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SUMMARY
pr-lint, the GitHub Actions validator (github-action-validator), and thelabelerall re-run on every push to a PR (synchronize) but had noconcurrency group, so rapid successive pushes left superseded runs going to
completion instead of being cancelled.
Add the standard PR-keyed concurrency block already used across the other
workflows:
These are idempotent / last-run-wins workflows (title lint, action validation,
label sync), so cancelling an in-flight run is safe — the newest push re-runs
them. Small per-PR savings, but free.
Left intentionally untouched:
welcome-new-users(one-shot on PR open),showtime-trigger(label/unlabel semantics where cancellation could drop async), and
issue_creation(notsynchronize-driven).TESTING INSTRUCTIONS
Push twice in quick succession to a PR and confirm the first run of each of
these workflows is cancelled in favor of the latest.
ADDITIONAL INFORMATION
🤖 Generated with Claude Code