Commit bfe6e1af authored by Ash McKenzie's avatar Ash McKenzie

Ensure MR labels are available, e.g. not local

parent c2af2f2e
......@@ -5,7 +5,9 @@ def gitlab_danger
end
def feature_mr?
(gitlab.mr_labels & %w[feature::addition feature::enhancement]).any?
return false unless helper.gitlab_helper&.mr_labels
(helper.gitlab_helper.mr_labels & %w[feature::addition feature::enhancement]).any?
end
DOCUMENTATION_UPDATE_MISSING = <<~MSG
......
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