You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Closesgithub/docs-content#22348
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: content/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository.md
+20-2Lines changed: 20 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
---
2
2
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.
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.'
12
12
shortTitle: Limit interactions in repo
13
13
category:
14
14
- Moderate comments and conversations
@@ -31,6 +31,24 @@ You can also enable activity limitations on all repositories owned by your perso
31
31
1. In the sidebar, select **{% octicon "comment-discussion" aria-hidden="true" aria-label="comment-discussion" %} Moderation options**, then click **Interaction limits**.
32
32
{% data reusables.community.set-interaction-limit %}
33
33
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.
0 commit comments