Opened 44 minutes ago

Last modified 44 minutes ago

#37426 assigned Cleanup/optimization

Restrict the allowed number of open PRs to django/django for new contributors

Reported by: Sarah Boyce Owned by: Sarah Boyce
Component: Core (Other) Version: 6.1
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Following discussions with many Django contributors, we have agreed that Django should use a GitHub Action to limit the number of open pull requests from new contributors.

When a pull request is opened on django/django, the action will check whether the contributor meets all three conditions:

  • Has fewer than five commits on Django’s main branch.
  • Has another open pull request created within the past six months.
  • Is not a member of a Django organisation GitHub team, such as the triage and review team, accessibility team, or steering council.

If all three conditions hold, the new pull request will be automatically closed with an explanatory message.

Thank you for contributing to Django!

Since you have fewer than five commits in Django and already have an open pull request created within the past six months, please finish or close that pull request before opening another. We are closing this pull request because you have reached this limit.

Please focus on your existing pull request and any outstanding review feedback. If you would prefer to work on this issue, you can close your existing pull request and unassign yourself from its associated ticket so someone else can take it on. You can then reopen this pull request.

The aim is to help new contributors learn Django’s contribution and review process by focusing on one contribution at a time, responding to feedback, and bringing their work to completion. This would also discourage contributors from claiming several tickets at once, leaving them unavailable to others.

The limits that I have suggested (5 commits, 6 months etc) can be later changed or changed during review.

Change History (1)

comment:1 by Sarah Boyce, 44 minutes ago

Owner: set to Sarah Boyce
Status: new → assigned
Note: See TracTickets for help on using tickets.
Back to Top