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
-
In the top right corner of GitHub.com, click your profile photo, then click Your organizations.
-
Next to the organization, click Settings.
-
In the "Access" section of the sidebar, click Moderation.
-
Under " Moderation", click Code review limits.
-
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.