diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-18 10:34:06 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-18 10:34:06 +0000 |
commit | 859a6fb938bb9ee2a317c46dfa4fcc1af49608f0 (patch) | |
tree | d7f2700abe6b4ffcb2dcfc80631b2d87d0609239 /danger/metadata | |
parent | 446d496a6d000c73a304be52587cd9bbc7493136 (diff) | |
download | gitlab-ce-859a6fb938bb9ee2a317c46dfa4fcc1af49608f0.tar.gz |
Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42
Diffstat (limited to 'danger/metadata')
-rw-r--r-- | danger/metadata/Dangerfile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/danger/metadata/Dangerfile b/danger/metadata/Dangerfile index b98d10d0654..d74c4f4a5af 100644 --- a/danger/metadata/Dangerfile +++ b/danger/metadata/Dangerfile @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # rubocop:disable Style/SignalException THROUGHPUT_LABELS = [ @@ -17,10 +19,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 |