How it works
Once connected, MergeGuide listens for pull request events from your Bitbucket repository. On a relevant event it evaluates the changed code and posts the result to the PR. Blocking findings hold the merge until they’re resolved.Connect Bitbucket
1
Add the repository in the dashboard
In portal.mergeguide.com, open
Repositories and connect your Bitbucket repository.
2
Configure the webhook
Add a webhook in your Bitbucket repository settings for pull request events,
using the URL and secret MergeGuide provides. The secret is used to verify that
webhook requests genuinely come from Bitbucket.
3
Open a pull request
Open or update a PR. MergeGuide evaluates the change and reports the result on
the pull request.
Run in Bitbucket Pipelines
You can also run MergeGuide as a pipeline step. Install the CLI and run a check:bitbucket-pipelines.yml
Block merges on findings
Require the MergeGuide check to pass before a PR can merge using Bitbucket’s merge checks in your repository settings. See Set up the PR gate.Next steps
PR gate
Block merges on blocking findings.
CI/CD patterns
Wire MergeGuide into any pipeline.