Skip to content

GitHub Action to automatically merge pull requests after they have received the required approvals.

License

Notifications You must be signed in to change notification settings

MinhOmega/auto-merge

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto Merge PRs

A GitHub Action to automatically merge pull requests after they have received the required approvals.

Usage

To use this action, create a workflow YAML file in your .github/workflows directory in your GitHub repository. Here is an example:

name: Auto-Merge-PRs

on:
  pull_request:
    types: [opened, reopened, synchronize]

jobs:
  auto-merge:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout repository
        uses: actions/checkout@v2

      - name: Run Auto-Merge PRs
        uses: MinhOmega/auto-merge@v1.0.4
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}

Inputs

Input Description Required Default
sleep_duration Duration to sleep between checks (in seconds) false 5
timeout_minutes Timeout for the merge process (in minutes) false 1440
base_branch Base branch to check against false master
github_token GitHub token for authentication true N/A

License

This project is licensed under the MIT License - see the LICENSE file for details.

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy