Auto Merge PRs
ActionsA GitHub Action to automatically merge pull requests after they have received the required approvals
v1.0.5
LatestBy MinhOmega
Tags
(2)A GitHub Action to automatically merge pull requests after they have received the required approvals.
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 }}
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 |
This project is licensed under the MIT License - see the LICENSE file for details.
Auto Merge PRs is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.