Mergify is a pull requests automation service. It allows you to define actions to trigger when pull requests match defined criteria.
For example, in a few lines of YAML, you can write a rule that automatically merges a pull request if:
- it has been approved
- the test suite passes
We have plenty of examples.
Mergify will execute actions for you, freeing you from the burden of managing pull requests!
Mergify allows you to define your own rule for automatic merging. Write a rule that dictates what you need for a pull request to be merged, for example:
- 2 reviewers must approve the PR
- the CI must pass
- there should be no
And Mergify will press the merge button for you automatically.
Delete Branch After Merge
Tired of keeping your repository clean manually? Write a rule that deletes the pull request branch once it has been merged, keeping your repository clean.
Backport Pull Request
Maintaining a stable branch for your software? When you're fixing bugs in your
master branch, it's a pain to backport those bug fixes to all your maintenance branches.
You can write a Mergify rule that will create a new pull request for your stable branches automatically. You can then even merge those automatically with an automatic merge rule!