Github
GitHub is a code hosting and version control platform for developers to collaborate on software projects.
Website
Industry
Website
Share this article:

How to disable auto-merge for pull requests in a GitHub repository

Here is how to disable auto-merge for pull requests in a github repository

  1. First open the repository you want to manage
  2. Next click on the "Settings" tab in the navigation menu
  3. Click on the "General" option in the settings sidebar
  4. Scroll down to the "Pull Requests" section 
  5. Then locate the "Allow auto-merge" option
  6. Finally click on the checkbox to disable automatic merging

Create your own interactive guide with Guideflow

Why should you disable auto-merge for pull requests in a GitHub repository

GitHub is a dynamic platform designed to facilitate collaboration and seamless code management for developers worldwide.

Disabling auto-merge for pull requests in a GitHub repository allows teams to maintain heightened oversight over the integration of code changes.

This feature is particularly beneficial for projects where rigorous code reviews and precise testing are crucial before merging contributions.

By controlling the merge process manually, teams can ensure better code quality, reducing the risk of inadvertent errors and enhancing project reliability.

Last update
March 12, 2026
Cursor MariaA cursor points to a button labeled "James."

Create your first demo in less than 30 seconds.