Show ready to merge badge on merge request dashboard
What does this MR do and why?
Updates the merge request status badge on the dashboard to show a
Ready to merge
badge when all merge checks have passed.
Note this is behind the merge_request_dashboard_merge_checks
feature flag to make sure the query does not timeout.
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
How to set up and validate locally
- Enable
merge_request_dashboard
feature flag - Enable
merge_request_dashboard_merge_checks
feature flag - Visit https://gdk.test:3000/dashboard/merge_requests
- If a merge request is ready to merge a badge should be shown
Edited by Phil Hughes