Check if MR is not broken.
This commit is contained in:
parent
d1938fae3d
commit
c7264d2a76
|
@ -254,7 +254,7 @@ class MergeRequest < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def mergeable?
|
||||
return false unless open? && !work_in_progress?
|
||||
return false unless open? && !work_in_progress? && !broken?
|
||||
|
||||
check_if_can_be_merged
|
||||
|
||||
|
|
Loading…
Reference in New Issue