Commit 157f80c6 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch '273358-bundle-exec-danger-dry_run-fails' into 'master'

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

See merge request gitlab-org/gitlab!46296
parents a43eaf5c bfe6e1af
......@@ -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