diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-07 00:10:14 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-07 00:10:14 +0300 |
commit | 36c5bf80d4aaedba332a420e3d620b2ee9e2bb65 (patch) | |
tree | 1a680ddbedf2dfc183b655e2c944a31b54b7fd6f /danger | |
parent | a15c9bc9eb04dcee1369c5fd6248c6352915ad21 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'danger')
-rw-r--r-- | danger/product_intelligence/Dangerfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/danger/product_intelligence/Dangerfile b/danger/product_intelligence/Dangerfile index 1c0c918dbfc..fb621cdbadb 100644 --- a/danger/product_intelligence/Dangerfile +++ b/danger/product_intelligence/Dangerfile @@ -15,8 +15,8 @@ MSG product_intelligence_paths_to_review = helper.changes_by_category[:product_intelligence] labels_to_add = product_intelligence.missing_labels -return if product_intelligence_paths_to_review.empty? || labels_to_add.empty? +return if product_intelligence_paths_to_review.empty? -warn format(CHANGED_FILES_MESSAGE, changed_files: helper.markdown_list(product_intelligence_paths_to_review)) +warn format(CHANGED_FILES_MESSAGE, changed_files: helper.markdown_list(product_intelligence_paths_to_review)) unless product_intelligence.has_approved_label? -project_helper.labels_to_add.concat(labels_to_add) +project_helper.labels_to_add.concat(labels_to_add) unless labels_to_add.empty? |