Pull Request Integration
Last updated
Last updated
Maestro Cloud also provides support for native pull request integration. This is useful if you'd like to run your Flows asynchronously but still block pull requests from landing if flow failures are detected.
Maestro Cloud currently supports Pull Request Integration for GitHub and GitHub Enterprise only. Support for other platforms coming soon.
✅ GitHub Support
✅ GitHub Enterprise Support
🚧 GitLab Support
🚧 Bitbucket Support
Note that you can trigger automatic uploads from any CI platform.
For certain types of issues (eg: Performance Regressions), Meastro Cloud needs to compare pull request results against a Baseline Branch (typically your main or master branch).
Specify your Baseline Branch using the config.yaml
file. Create the following file under the .maestro/
directory (or wherever your Flows are if you are using a custom directory). Update main
to the branch you'd like to use as your baseline.
Follow the steps described here
Ensure your workflow is triggered on every pull request made against your Baseline Branch.
In order to update the status of pull requests, you'll need to grant Maestro Cloud permissions to do so.
Lastly, open a pull request and ensure that the Maestro Cloud check shows up on your pull request.
branch
Set to the name of the git branch the app was built on and the pull request is based on (i.e. feature-foo)
repoOwner
Set to the owner of the repository (i.e. "mobile-dev-inc")
repoName
Set to the name of the repository (i.e. "fenix")
pullRequestId
Set to the unique identifier of the pull request. Only set when triggered by a Pull Request. (i.e. 1234)
commitSha
Set to the commit hash. Only set when triggered by a Pull Request. (i.e. 586e1c690891d20568976c78f06fbec9b94a3b32)
repoOwner
Set to the owner of the repository (i.e. "mobile-dev-inc")
repoName
Set to the name of the repository (i.e. "fenix")
branch
Set to the name of the git branch the app was built on and the pull request is based on (i.e. feature-foo)
pullRequestId
Set to the unique identifier of the pull request. Only set when triggered by a pull request. (i.e. 1234)
commitSha
Set to the commit hash. Only set when triggered by a Pull Request. (i.e. 586e1c690891d20568976c78f06fbec9b94a3b32)