This repository is a live, forkable demo of Mergify where you can start various scenario.
In order to make it work, you'll need to follow those steps:
- Fork the repository;
- Go to the Mergify dashboard;
- Add Mergify to your organization and select the demo that you just forked;
- If you already had Mergify installed, click on "Edit repository list" at the top of the dashboard and add the demo repository.
Need more help to deploy Mergify on your forked repository? Check our getting started docs.
Now you can test the various scenarios offered by this repository.
If you never heard of a merge queue, the first thing to do is to take a look at merge queue introduction which will cover the basics of a merge queue.
This repository has 3 different merge queues configured, to make it more spicy.
This is also close to typical real world scenario, where you might have pull requests being merged with different policies.
You can read the full configuration in the .mergify.yml
file
of this repository.
The 3 queues are:
-
hotfix
: this is the queue where you would typically route pull requests that are urgent and needs to be merged as soon as possible. Pull request can enter this queue if they have thehotfix
label attached. -
default
: the default queue for routing any pull request. The pull requests entering this queue are tested in parallel using speculative checks, with up to 5 running tests in parallel. -
lowprio
: the queue for routing low priority PRs. The pull requests entering this queue are tested in batches.