Commit d0b265fc authored by DJ Mountney's avatar DJ Mountney

Merge branch 'dangerfile-warn-missing-label' into 'master'

Dangerfile: warn if Distribution label missing

See merge request charts/gitlab!775
parents 063ffca0 fed0dde5
Pipeline #59218747 passed with stages
in 31 minutes and 12 seconds
......@@ -6,6 +6,8 @@ if gitlab.mr_labels.empty?
fail "Please add labels to this merge request."
warn "You may want to add ~Distribution label to this MR for gitlab-insights" unless gitlab.mr_labels.include?("Distribution")
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