Custom merge widget blocks
The merge widget contains critical information about the state of the merge request, like who has approved it, if CI pipeline passes, security information, and code quality. This is really great for projects that use GitLab end-to-end, but this may not be possible for every one. For example, an in-house security tool that performs different tasks to GitLab's security scanner. We should make it possible for these tools to provide feedback into the merge process.
Further details
This feature would be useful for teams that use in-house tooling, or third-party tools that can't be replaced by GitLab features.
Proposal
- Add an API for custom merge widgets including status (minimum) and maybe some basic formatted output
What does success look like, and how can we measure that?
Success can be measured by:
- the number of projects per instance that custom merge widgets are used
- the number of third-party tools that implement support for custom merge widgets
Links / references
- https://gitlab.slack.com/archives/C0NFPSFA8/p1530036023000056
- https://developer.github.com/v3/checks/
Customers
A large bank looking to standardize on GL would like 3rd party status notifications via Sonarqube. https://gitlab.my.salesforce.com/00161000002xriY