Commit f6399f1d authored by Lin Jen-Shin's avatar Lin Jen-Shin 🔴

Merge branch 'danger-throughputs' into 'master'

Danger asks for throughput labels

See merge request gitlab-org/gitlab-ce!30622
parents 4e457ebf 4f72293a
# rubocop:disable Style/SignalException
'Community contribution',
if gitlab.mr_body.size < 5
fail "Please provide a proper merge request description."
......@@ -8,6 +16,10 @@ if gitlab.mr_labels.empty?
fail "Please add labels to this merge request."
if (THROUGHPUT_LABELS & gitlab.mr_labels).empty?
warn 'Please add a [throughput label]( to this merge request.'
unless gitlab.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."
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