Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 1.66 KB

managing-auto-merge-for-pull-requests-in-your-repository.md

File metadata and controls

28 lines (24 loc) · 1.66 KB
title intro product versions permissions topics redirect_from shortTitle
Managing auto-merge for pull requests in your repository
You can allow or disallow auto-merge for pull requests in your repository.
{% data reusables.gated-features.auto-merge %}
fpt ghes ghae
*
>=3.1
*
People with maintainer permissions can manage auto-merge for pull requests in a repository.
Repositories
/github/administering-a-repository/managing-auto-merge-for-pull-requests-in-your-repository
Manage auto merge

About auto-merge

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. {% ifversion fpt or ghae-next or ghes > 3.1 %}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. {% endif %}For more information, see "Automatically merging a pull request."

Managing auto-merge

{% data reusables.pull_requests.auto-merge-requires-branch-protection %}

{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %}

  1. Under "Merge button", select or deselect Allow auto-merge. Checkbox to allow or disallow auto-merge Reference: https://github.com/github/docs/edit/main/content/github/administering-a-repository/configuring-pull-request-merges/managing-auto-merge-for-pull-requests-in-your-repository.md