ci: allow pr-shepherd: label prefix in PR label validation#12063
Draft
mikewoo-dd wants to merge 1 commit into
Draft
ci: allow pr-shepherd: label prefix in PR label validation#12063mikewoo-dd wants to merge 1 commit into
mikewoo-dd wants to merge 1 commit into
Conversation
The PR Shepherd automation applies labels like `pr-shepherd:in_progress`, which the label validator rejected as invalid and blocked the PR. Add the `pr-shepherd:` prefix to the allowlist so these labels no longer trigger a block. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
PerfectSlayer
requested changes
Jul 24, 2026
PerfectSlayer
left a comment
Contributor
There was a problem hiding this comment.
Please don't. Those checks were set on purpose to limit the tag addition for every new tools that keep being added quarter over quarter and are never taken care of after.
I would invite you to describe the need first, then we can define a set of labels for the tool if needed that will fit the repository conventions.
Additionally, the PR does not explain the motivation. It only states "I'm blocked, so I'm lifting enforcement".
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.
What
Add the
pr-shepherd:prefix to thevalidCategoriesallowlist incheck-pull-request-labels.yaml.Why
The PR Shepherd automation applies labels such as
pr-shepherd:in_progress. TheValidate PR Label Formatworkflow only accepts labels matching a fixed set of prefixes, so these labels were flagged as invalid and the PR was blocked (a maintainer had to delete the bot comment to unblock). See e.g. #12034 (comment)Consequence check
validCategoriesis read in exactly one place (this filter); nothing else consumes it.pr-shepherd:label —check-pull-requests.yamlrequirestype:/comp:/inst:, anddraft-release-notes-on-tag.yamlonly mapscomp:/inst:(anypr-shepherd:label falls through to "other PRs").The change only removes the false-positive block; no downstream side effects.
🤖 Generated with Claude Code