CI: Add automation gating PR creation to assigned contributors#65849
Draft
rhshadrach wants to merge 2 commits into
Draft
CI: Add automation gating PR creation to assigned contributors#65849rhshadrach wants to merge 2 commits into
rhshadrach wants to merge 2 commits into
Conversation
mroeschke
reviewed
Jun 11, 2026
Comment on lines
+49
to
+57
| await comment(`Thanks for your interest, @${user}! This issue is still labeled \`${blocking}\`, which means a maintainer needs to review it before work starts — so it isn't open to claim just yet. Please hold off on a PR until that label is removed. See the [contributing guide](${docsUrl}) for more.`); | ||
| return; | ||
| } | ||
| if (assignees.includes(user)) { | ||
| await comment(`You already have this one, @${user} — it's assigned to you and you're all set to work on it.`); | ||
| return; | ||
| } | ||
| if (assignees.length > 0) { | ||
| await comment(`Thanks @${user}! This issue is currently assigned to @${assignees[0]}, who's already on it — so to avoid two people doing the same work, please pick a different available issue for now. If @${assignees[0]} becomes inactive, the issue is released automatically and you'll be able to \`/take\` it then. See the [contributing guide](${docsUrl}) for more.`); |
Member
There was a problem hiding this comment.
My only consideration here is that if multiple users don't follow the procedures (e.g. multiple /take commands), we'll have just as many of these comments which might start detracting from other comments discussing the issue
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.
Claude generated; I have not reviewed most of this yet. Putting up so others can see the intended implementation via the docs changes here.