Skip to main content

Managing pull request reviews in your repository

You can limit which users can approve or request changes to a pull requests in a public repository.

Who can use this feature

Repository administrators can limit which users can approve or request changes to a pull request in a public repository.

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 which users are able to submit reviews that approve or request changes to pull requests in your public repository. When you enable code review limits, anyone can comment on pull requests in your public repository, but only people with read access or higher can approve pull requests or request changes.

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

Enabling code review limits

  1. On GitHub.com, navigate to the main page of the repository.
  2. Under your repository name, click Settings. Repository settings button
  3. Under Access, click Moderation options. Moderation options repository settings
  4. Under Moderation options, click Code review limits. Code review limits repositories
  5. Select or deselect Limit to users explicitly granted read or higher access. Limit review in repository