Skip to main content

Managing pull request reviews in your organization

You can limit which users can approve or request changes to a pull requests in your organization.

Who can use this feature

Organization owners can limit which users can submit reviews that approve or request changes to a pull request.

About code review limits

By default, in public repositories, any user can submit reviews that approve or request changes to a pull request.

You can limit who is able to approve or request changes to pull requests in public repositories owned by your organization. After you enable code review limits, anyone can comment on pull requests in your public repositories, but only people with explicit access to a repository can approve a pull request or request changes.

You can also enable code review limits for individual repositories. If you enable or limits for your organization, you will override any limits for individual repositories owned by the organization. For more information, see "Managing pull request reviews in your repository."

Enabling code review limits

  1. In the top right corner of GitHub.com, click your profile photo, then click Your organizations.

    Screenshot of the dropdown menu under @octocat's profile picture. "Your organizations" is outlined in dark orange.

  2. Next to the organization, click Settings.

  3. In the "Access" section of the sidebar, click Moderation.

  4. Under " Moderation", click Code review limits. Screenshot of sidebar item for code review limits for organizations

  5. Review the information on screen. Click Limit review on all repositories to limit reviews to those with explicit access, or click Remove review limits from all repositories to remove the limits from every public repository in your organization. Screenshot of code review limits settings for organizations