Commit d621f9db authored by Albert Salim's avatar Albert Salim

Merge branch 'danger-stop-failing-when-no-labels-are-set' into 'master'

danger: Stop complaining when MR has no labels

See merge request gitlab-org/gitlab!52695
parents 637b9665 7eec0190
......@@ -17,10 +17,6 @@ if gitlab.mr_body.size < 5
fail "Please provide a proper merge request description."
end
if gitlab.mr_labels.empty?
fail "Please add labels to this merge request."
end
if (THROUGHPUT_LABELS & gitlab.mr_labels).empty?
warn 'Please add a [throughput label](https://about.gitlab.com/handbook/engineering/management/throughput/#implementation) to this merge request.'
end
......
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