Mergify is a pull requests automation service. It allows you to trigger actions when your pull requests match defined criteria.
In a few lines of YAML, you could write a rule that automatically merges a pull request if:
- it has been approved
- the test suite passes
We have plenty of examples.
Mergify executes actions for you, freeing you from the burden of managing your pull requests.
🚥 Merge
Mergify works by applying rules on your pull requests. You can for example, automatically merge a pull request with:
pull_request_rules:
- name: automatic merge when CI passes and 2 reviews
conditions:
- "#approved-reviews-by>=2"
- status-success=Travis CI - Pull Request
- label!=work-in-progress
actions:
merge:
method: merge
strict: true
priority: high
Mergify will press the merge button for you automatically — making sure the pull request is up-to-date with its base branch (strict mode). Mergify has a merge queue where you can set priorities.
🤖 Automation
Mergify also provides tons of actions, such as:
- Adding/removing labels
- Requesting reviews
- Reviewing
- Posting comments
- Rebasing
- Closing
- Copying to another branch
- Deleting a branch
All of those can be used to automate completely your GitHub workflow.
Pricing and setup
Pro
Automate your private repositories!
- All Features
- Merge Queue Priority
- Private & Large Repositories
- Priority Support
Mergify is provided by a third-party and is governed by separate terms of service, privacy policy, and support contact.