-
On GitHub, navigate to the main page of the repository.
-
Under your repository name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.

-
To disable pull requests entirely, under "Features", deselect Pull requests.
If you decide to enable pull requests again in the future, any pull requests that were previously added will be available.
-
To restrict pull requests to collaborators only, in the dropdown under "Pull requests" select Collaborators only.
In personal repositories, a collaborator is anyone who has been invited to the repository. For more information, see Permission levels for a personal account repository.
In organization repositories, a collaborator is a user who has been granted the write, maintain, or admin role for the repository. For more information about organization roles, see Repository roles for an organization.
Tip
Please contact us through the GitHub Support portal if you want to turn off pull requests because of abuse from strangers. GitHub does not tolerate abuse. For more information on GitHub's policies, see our Terms of Service and Community Guidelines.