How to Enable Auto-merge for Pull Requests in GitHub
In this article
Learn how to enable the auto-merge feature for pull requests in your GitHub repository, streamlining your workflow by automatically merging pull requests once all conditions are met.
Explore more GitHub tutorials with interactive Saltfish walkthroughs.
Here's how to enable auto-merge for pull requests in GitHub
- Access Repository Settings
From your GitHub dashboard, select the specific repository for which you want to enable auto-merge for pull requests.
- Navigate to Settings
Once inside your chosen repository, locate and click on the **Settings** tab in the top navigation bar to access its configuration options.
- Open General Settings
On the settings page, find the left sidebar menu and click on **General** to view the general repository settings.
- Locate Pull Requests Section
Scroll down the General settings page until you find the section labeled "Pull Requests," which contains various merge-related options.
- Enable Auto-merge
Within the "Pull Requests" section, check the box next to **Allow auto-merge**. This will enable pull requests to merge automatically once all conditions are met.
Your turn to show how it works.
Build a walkthrough of your product with Saltfish, then share it with your customers.
Frequently Asked Questions
Enabling auto-merge allows pull requests to merge automatically once all required reviews and status checks have successfully passed, streamlining your workflow.



