Buildkite is a CI/CD tool providing scalable orchestration system, dynamic pipelines, customizable runners, and a great local development experience. Mergify can interact with Buildkite by evaluating the status checks reported by Buildkite to GitHub. This enables powerful automation workflows that react to the results of your Buildkite jobs.
PrerequisitesSection titled Prerequisites
Before you can use Mergify with Buildkite, ensure the following:
Buildkite is properly set up and is building your projects. See the Buildkite Documentation for help with setting up Buildkite.
Buildkite is configured to report build statuses to GitHub.
The Mergify GitHub App is installed in your repository.
Using Buildkite Status Checks in Mergify ConfigurationSection titled Using Buildkite Status Checks in Mergify Configuration
Once Buildkite reports status checks to GitHub, they can be used as conditions in your Mergify rules.
Here’s a simple example:
In this example, Mergify will automatically merge pull requests that have at least one approved review and a successful Buildkite build.
Further ConfigurationSection titled Further Configuration
The possibilities of integrating Buildkite with Mergify are extensive. For instance, you could use Mergify to:
Automatically update a PR when a build fails;