Pull request integration

Native pull request integration runs Maestro tests asynchronously and blocks merges on failures. Supports GitHub Enterprise.

Native pull request integration allows you to run Maestro Flows asynchronously on every code change. You can configure it to block pull requests from being merged if test failures are detected.

circle-info

Maestro Cloud Plan required. Pull request integration is available on the Maestro Cloud Planarrow-up-right.

circle-info

Maestro Cloud currently supports native pull request integration for:

  • GitHub

  • GitHub Enterprise only.

1

Trigger uploads on every pull request

You must configure your CI environment to trigger a Maestro Cloud upload for every pull request. You can accomplish this by using one of the following options:

Trigger your workflow on pull_request events against your baseline branch.

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]
2

Grant access to pull requests

Maestro requires permission to update pull request statuses. To accomplish this, you must install the Maestro Cloud apparrow-up-right and grant access to your repositories to the desired repositories.

3

Test the integration

Once configured, open a pull request. The Maestro Cloud status check appears in the checks section. A passing check indicates all Flows ran successfully, while a failing check indicates that at least one Flow failed.

Last updated