Skip to content

doc: limit one PR for first-time contributors - #68008

Open
MikeMcC399 wants to merge 2 commits into
nodejs:mainfrom
MikeMcC399:one-pr-first-time-contributor
Open

MikeMcC399 wants to merge 2 commits into
nodejs:mainfrom
MikeMcC399:one-pr-first-time-contributor

Conversation

@MikeMcC399

@MikeMcC399 MikeMcC399 commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

Situation

CONTRIBUTING > Pull Requests states:

Contributors who are not Collaborators may have no more than 10 pull requests open at a time.

which is now confirmed by the TSC minutes 2026-12-02.

There is no statement in this top-level document about first-time contributors, instead it is covered in the linked Guide for First-Time Contributors in the section What NOT to do for your first contributions, where it is advised:

Refrain from opening new Pull Requests before the first one has been approved.

A contributor transitions out of "first-time contributor" status when they have authored a commit that has landed in the default (main) branch of the repo. Until such time, the GitHub Actions workflows for each PR and any subsequent commit push(es) to a PR needs to be individually approved by a collaborator, with consequent delays and extra work for collaborators.

In practice, many first-time contributors are not keeping to the one-PR limit.

Change

  1. require a first-time contributor's PR to have landed before opening new ones
  2. add the one-PR limit to the top level CONTRIBUTING > Pull Requests document section for better visibility

Signed-off-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/tsc

@MikeMcC399 MikeMcC399 self-assigned this Dec 4, 2026
@nodejs-github-bot nodejs-github-bot added the doc Issues and PRs related to Node.js documentation. label Dec 4, 2026
@MikeMcC399
MikeMcC399 marked this pull request as ready for review December 4, 2026 09:19
Comment thread doc/contributing/first-contributions.md Resolved
Co-authored-by: James M Snell <jasnell@gmail.com>
@Trott

Trott commented Dec 4, 2026

Copy link
Copy Markdown
Member

Optional suggestion, totally not blocking:

It might be worth mentioning that if a pull request doesn't land after some decent amount of time, it's OK to close it and open a different pull request. Maybe that's implied by the text. But the text says to wait until after the first pull request has "landed". An overly literal reading of the text would be that you can't close that pull request if it's stale and try again with a different pull request.

@gurgunday gurgunday left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Trott Trott left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. My suggestion in a comment can always be added in a subsequent PR if it ever turns out that the thing I mention actually becomes a problem. (It probably won't.)

@MikeMcC399 MikeMcC399 added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Dec 4, 2026
@MikeMcC399

MikeMcC399 commented Dec 4, 2026 •

Copy link
Copy Markdown
Member Author

LGTM. My suggestion in a comment can always be added in a subsequent PR if it ever turns out that the thing I mention actually becomes a problem. (It probably won't.)

Thanks @Trott !

For the first pass in laying down this rule in more concrete terms, I was trying to keep it simple. There are other potential refinements for a later PR, like defining whether draft PRs count and perhaps recommending that users could change their priorities, keeping only one open PR as non-draft.

@Trott

Trott commented Dec 4, 2026

Copy link
Copy Markdown
Member

and perhaps recommending that users could change their priorities, keeping only one open PR as non-draft

If it does not undermine the spirit of the only-one-PR rule, maybe we can also suggest that there are an awful lot of repos in the Node.js project, and maybe there is some neglected technical (or other) debt to pay elsewhere in the org. (Not sure if the rule is meant for this repo only, the entire org, or it's one pr-per-repo or what. And that's not anything that needs to be sorted right away. Let's just get the MVP implementation of this rule going and iterate from there if necessary.)

@MikeMcC399

Copy link
Copy Markdown
Member Author

The status "first-time contributor" is one that GitHub assigns to a user on a per-repo basis, so the intention of this PR is only to cover nodejs/node, similar to how the 10 PR limit for those without write access is also only being applied at this time at the nodejs/node repo level, not the org level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. doc Issues and PRs related to Node.js documentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants