ci: gate first-time contributor PRs on CLA, sync linked issues, warn on duplicate PRs#11995
Merged
Conversation
…on duplicate PRs Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
…days Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
| owner, repo, state: "open", per_page: 100, | ||
| }); | ||
| const authored = openPrs.filter((p) => p.user?.login === pr.user.login); | ||
| if (authored.length > 2) { |
Contributor
There was a problem hiding this comment.
We could have a const MAX_OPEN_PRS = 2 and then authored.length > MAX_OPEN_PRS
Makes the threshold easy to tune later.
Contributor
|
just a small suggestion for the max pr threshold |
davidsbatista
approved these changes
Jul 14, 2026
davidsbatista
left a comment
Contributor
There was a problem hiding this comment.
Just a suggestion, feel free to merge with or without it
Addresses review feedback: makes the open-PR threshold easy to tune. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Related Issues
Proposed Changes:
Three new workflows:
cla_draft_gate.yml— draft PRs until the CLA is signed. Auto-close after 2 weekslicense/clastatus isn't green are converted to draft, their requested reviewers removed (remembered in a hidden comment marker), labeledcla-pending, and the contributor gets a friendly explanation.license/clastatus turns green,on: statustrigger), the PR is marked ready for review again and the same individual reviewers are re-requested (not the team, so round-robin doesn't pick someone new). The scheduled sweep is a backstop for missed status events.skip-cla-reminderlabel exempts a PR from reminders and auto-closing.linked_issue_review.yml— sync linked issues so they read as takenFixes #123etc.), the PR's requested reviewers are assigned to the issue — only if nobody is assigned yet — and the issue is moved to ":eyes: In review" in the Open Source project. An assigned, in-review issue signals other contributors and their coding agents that the issue is taken. Helps avoiding duplicate PRs.pr_flood_guard.yml— warn on duplicates and PR floodsHow did you test it?
closingIssuesReferences,closedByPullRequestsReferences,assignees) verified live against fix: populate split_idx_start metadata in EmbeddingBasedDocumentSplitter #11987/EmbeddingBasedDocumentSplitter does not populate split_idx_start metadata for output chunks #11986.Notes for the reviewer
cla-pendinglabel is auto-created;skip-cla-remindermust be created manually if wanted.Checklist
fix:,feat:,build:,chore:,ci:,docs:,style:,refactor:,perf:,test:and added!in case the PR includes breaking changes.🤖 Generated with Claude Code