If you allow auto-merge for pull requests in your repository, people with write permissions can configure individual pull requests in the repository to merge automatically when all merge requirements are met. If someone who does not have write permissions pushes changes to a pull request that has auto-merge enabled, auto-merge will be disabled for that pull request. For more information, see "Automatically merging a pull request."
- On GitHub, navigate to the main page of the repository.
- Under your repository name, click Settings.
- Under "Merge button", select or deselect Allow auto-merge.