Skip to content

Commit 726ae93

Browse files
moraescCopilot
andcommitted
Document concurrent PR limit for non-collaborators
Add documentation for the new repository setting that allows maintainers to set a maximum number of concurrent open pull requests for non-collaborators, including the trusted contributor allowlist. Closes github/docs-content#22348 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 3d9b9e0 commit 726ae93

1 file changed

Lines changed: 20 additions & 2 deletions

File tree

content/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
title: Limiting interactions in your repository
3-
intro: You can temporarily enforce a period of limited activity for certain users on a public repository.
3+
intro: You can temporarily enforce a period of limited activity for certain users on a public repository, and set a maximum number of concurrent open pull requests for non-collaborators.
44
redirect_from:
55
- /articles/limiting-interactions-with-your-repository
66
- /articles/limiting-interactions-in-your-repository
77
- /github/building-a-strong-community/limiting-interactions-in-your-repository
88
versions:
99
fpt: '*'
1010
ghec: '*'
11-
permissions: 'People with admin permissions to a repository, and organization moderators, can temporarily limit interactions in that repository.'
11+
permissions: 'People with admin permissions to a repository, and organization moderators, can temporarily limit interactions in that repository and set a maximum number of concurrent open pull requests for non-collaborators.'
1212
shortTitle: Limit interactions in repo
1313
category:
1414
- Moderate comments and conversations
@@ -31,6 +31,24 @@ You can also enable activity limitations on all repositories owned by your perso
3131
1. In the sidebar, select **{% octicon "comment-discussion" aria-hidden="true" aria-label="comment-discussion" %} Moderation options**, then click **Interaction limits**.
3232
{% data reusables.community.set-interaction-limit %}
3333

34+
## Limiting concurrent open pull requests for non-collaborators
35+
36+
You can set a maximum number of pull requests that a non-collaborator can have open at the same time in your repository. When a non-collaborator reaches the limit, they must close or get an existing pull request merged before they can open a new one.
37+
38+
This setting helps maintainers manage contribution volume by preventing users from opening an excessive number of pull requests, which can overwhelm review queues and trigger unnecessary CI runs. The limit only applies to non-collaborators — users with collaborator access to the repository are not affected.
39+
40+
### Adding trusted contributors to the allowlist
41+
42+
You can add trusted contributors to an allowlist so they can bypass the pull request limit without being granted full collaborator access. This is useful for regular external contributors who need to open multiple pull requests but don't require the additional permissions that come with collaborator access, such as push access or label management.
43+
44+
### Configuring the pull request limit
45+
46+
{% data reusables.repositories.navigate-to-repo %}
47+
{% data reusables.repositories.sidebar-settings %}
48+
1. In the sidebar, select **{% octicon "comment-discussion" aria-hidden="true" aria-label="comment-discussion" %} Moderation options**, then click **Interaction limits**.
49+
1. Under "Pull request limits", select the maximum number of concurrent open pull requests allowed for non-collaborators.
50+
1. Optionally, to allow specific users to bypass the limit, under "Allowlist", search for and select the users you want to add.
51+
3452
## Further reading
3553

3654
* [AUTOTITLE](/communities/maintaining-your-safety-on-github/reporting-abuse-or-spam)

0 commit comments

Comments
 (0)