MR shows "[Name] enabled automatic merge when pipeline succeeds" instead of the error that will prevent that automatic merge
- Create an MR
- Hit MWPS
- Prevent the pending merge by create a discussion or updating the target branch to introduce a conflict
- Notice that widget still shows "[Name] enabled automatic merge when pipeline succeeds" instead of the error that will prevent that automatic merge
When the pipeline eventually goes green, the backend blocks the actual merge, but the widget still makes it seem like the MR is about the be merged automatically. Only when hitting "Cancel automatic merge" does the reason the MR couldn't be merged show up.
Reasons why the MR cannot actually be merged should always take priority over the MWPS status.
/cc @fatihacet