Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
title: Limiting interactions in your repository
intro: You can temporarily enforce a period of limited activity for certain users on a public repository.
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.
redirect_from:
- /articles/limiting-interactions-with-your-repository
- /articles/limiting-interactions-in-your-repository
- /github/building-a-strong-community/limiting-interactions-in-your-repository
versions:
fpt: '*'
ghec: '*'
permissions: 'People with admin permissions to a repository, and organization moderators, can temporarily limit interactions in that repository.'
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.'
shortTitle: Limit interactions in repo
category:
- Moderate comments and conversations
Expand All @@ -31,6 +31,24 @@ You can also enable activity limitations on all repositories owned by your perso
1. In the sidebar, select **{% octicon "comment-discussion" aria-hidden="true" aria-label="comment-discussion" %} Moderation options**, then click **Interaction limits**.
{% data reusables.community.set-interaction-limit %}
Comment on lines 31 to 32

## Limiting concurrent open pull requests for non-collaborators

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.

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.
Comment on lines +36 to +38

### Adding trusted contributors to the allowlist

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.

### Configuring the pull request limit

{% data reusables.repositories.navigate-to-repo %}
{% data reusables.repositories.sidebar-settings %}
1. In the sidebar, select **{% octicon "comment-discussion" aria-hidden="true" aria-label="comment-discussion" %} Moderation options**, then click **Interaction limits**.
1. Under "Pull request limits", select the maximum number of concurrent open pull requests allowed for non-collaborators.
Comment on lines +46 to +49
1. Optionally, to allow specific users to bypass the limit, under "Allowlist", search for and select the users you want to add.

## Further reading

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