Update API status code if merge request is not mergeable and fix mergeable_discussions_state status check
requested to merge 354865-follow-up-from-resolve-bug-when-using-the-merge-quick-action-it-returns-merged-even-though into master
What does this MR do and why?
We move the methods from mergeble?
to the mergeable_state?
because these checks are more about the state and it will allow us to move them to the new framework easier too. This doesn't change the functionality as mergeable?
method calls mergeable_state?
method too.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #354865 (closed)
Feature flag roll out: #356930 (closed)
Edited by Jan Provaznik