Fix stale PR message: reference review/urgent label instead of checkbox#8
Merged
Merged
Conversation
The PR template no longer uses a checkbox for Urgent — it switched to yes/no in the template-yesno-fields update. More importantly, not all PRs get the template (API/CLI callers bypass it), so referencing the label directly is accurate regardless of how the PR was created. Co-authored-by: Cursor <cursoragent@cursor.com>
dustin-decker
approved these changes
May 11, 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
Updates the stale PR warning message to say "add the
review/urgentlabel" instead of "check the Urgent box in the PR description."Two reasons:
yes/nofields, so "check the box" is outdated.exempt-pr-labels: review/urgentcheck only looks at the label, not the PR body.Review guidance
.github/workflows/stale-reusable.ymlTesting
No functional change to workflow logic — only the
stale-pr-messagestring is updated. Theexempt-pr-labelsand all otheractions/staleinputs are unchanged.Deployment notes
Takes effect on the next scheduled stale run (daily at 01:00 UTC) across all 7 consumer repos. Only affects the message text on newly-staled PRs; PRs that already received the old message are unaffected.
Note
Low Risk
Low risk: this only changes the text of the
actions/stalePR warning message and does not affect workflow behavior or enforcement.Overview
Updates the stale PR warning message in
.github/workflows/stale-reusable.ymlto instruct authors to add thereview/urgentlabel (instead of checking an "Urgent" box) to keep a PR from being auto-closed.Reviewed by Cursor Bugbot for commit 37d1fc7. Bugbot is set up for automated code reviews on this repo. Configure here.