SaltfishTry for free

How to Enable Auto-merge for Pull Requests in GitHub

·2 min read
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

  1. Access Repository Settings

    From your GitHub dashboard, select the specific repository for which you want to enable auto-merge for pull requests.

  2. 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.

  3. Open General Settings

    On the settings page, find the left sidebar menu and click on **General** to view the general repository settings.

  4. Locate Pull Requests Section

    Scroll down the General settings page until you find the section labeled "Pull Requests," which contains various merge-related options.

  5. 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.

Create a guide with Saltfish

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.