Managing auto-merge for pull requests in your repository

You can allow or disallow auto-merge for pull requests in your repository.

People with maintainer permissions can manage auto-merge for pull requests in a repository.

Auto-merge for pull requests is available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see "GitHub's products."

Note: Auto-merge for pull requests is currently in beta and subject to change.

If you allow auto-merge for pull requests in your repository, people can configure individual pull requests in the repository to merge automatically when all merge requirements are met. For more information, see "Automatically merging a pull request."

  1. On GitHub, navigate to the main page of the repository.
  2. Under your repository name, click Settings.
    Repository settings button
  3. Under "Merge button", select or deselect Allow auto-merge.
    Checkbox to allow or disallow auto-merge

Did this doc help you?

Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.