Skip to content

[RFC]: Issues and Pull Request Policy Updates #219

@scottschreckengaust

Description

@scottschreckengaust

Summary

To keep this repository healthy, we enforce automated limits for issues and pull requests.

Motivation

Ideas

Opening many pull requests at once may not give the maintainers bandwidth to service all contributors requests.

  • Limit the number of open pull requests per contributor (drafted items don't count against the quota)
  • Implement "stale" issues and pull requests (the actions/stale is made for this)
  • Preserve long-running work items via a tagged label
  • Communicate with comments and actions for the submitter and collaborators on how to keep open
  • Potentially enforce a referenced issue with no-issue override to permit minor self-explanatory pull requests to be created without a reference (and for drafts without issues too for exploration)

Detailed Proposal

## Pull request policy

To keep this repository healthy, we enforce automated limits on pull requests:

| Rule                      | Value                        |
|---------------------------|------------------------------|
| Referenced issue          | **open issues referenced**   |
| Max open PRs/user at once | **3**                        |
| Marked stale after        | **7 days** with no activity  |
| Closed after stale        | **3 more days**              |
| Total inactivity window   | **10 days**                  |

### What triggers auto-close

- Opening a PR when ≥ 3 are already open (oldest eligible PRs close first)
- A PR sitting untouched for 10 days of total inactivity
- Lacking a referenced open issue with a GitHub keywords

### How to keep your pull request open

Fix the non-complaint rules and then re-open or alternatively:

- Switch PRs into draft to not count against the maximum quota per user
- Push a commit, add a comment, or request a review to keep activity fresh
- Add the `do-not-close` label for long-running work
- Add the `no-issues` exception label for pull requests that are self-referenced and do not require full issue references 

Alternatives Considered

No response

Drawbacks

Valid small self-contained

Additional Context

No response

Metadata

Metadata

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions