MR shows "The build for this merge request failed" although builds still running
This MR https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7125 introduces a bug to Merge Request Widget when the only_allow_merge_if_build_succeeds?
.
The implementation introduced by the MR doesn't account that pipeline can be running in intermediate state, like: running
or can be skipped
(of [ci skip]
). In these cases it always unconditionally shows Build for this failed
where it's not mostly not true.