Skip to content
Snippets Groups Projects
Commit 049e2f22 authored by Rubén Dávila's avatar Rubén Dávila
Browse files

Check if MR is not broken.

parent c8d66514
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment