Commit c7264d2a authored by Rubén Dávila's avatar Rubén Dávila

Check if MR is not broken.

parent d1938fae
...@@ -254,7 +254,7 @@ class MergeRequest < ActiveRecord::Base ...@@ -254,7 +254,7 @@ class MergeRequest < ActiveRecord::Base
end end
def mergeable? def mergeable?
return false unless open? && !work_in_progress? return false unless open? && !work_in_progress? && !broken?
check_if_can_be_merged check_if_can_be_merged
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment