fail"Please provide a proper merge request description."
fail"Please provide a proper merge request description."
end
end
...
@@ -8,6 +16,10 @@ if gitlab.mr_labels.empty?
...
@@ -8,6 +16,10 @@ if gitlab.mr_labels.empty?
fail"Please add labels to this merge request."
fail"Please add labels to this merge request."
end
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
unlessgitlab.mr_json["assignee"]
unlessgitlab.mr_json["assignee"]
warn"This merge request does not have any assignee yet. Setting an assignee clarifies who needs to take action on the merge request at any given time."
warn"This merge request does not have any assignee yet. Setting an assignee clarifies who needs to take action on the merge request at any given time."