summaryrefslogtreecommitdiff
path: root/danger
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-10-25 09:12:21 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-10-25 09:12:21 +0000
commit45760607bc053b7379f81edd5ea91dd2a6471522 (patch)
tree3c23388962d7d0eb31fde246718fc91c6acf5c26 /danger
parent0712a75cc03cb881dc40ae53a50d059822354ad8 (diff)
downloadgitlab-ce-45760607bc053b7379f81edd5ea91dd2a6471522.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'danger')
-rw-r--r--danger/product_intelligence/Dangerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/danger/product_intelligence/Dangerfile b/danger/product_intelligence/Dangerfile
index fd6ae76b4f1..dda3fbfc589 100644
--- a/danger/product_intelligence/Dangerfile
+++ b/danger/product_intelligence/Dangerfile
@@ -12,12 +12,12 @@ For MR review guidelines, see the [Service Ping review guidelines](https://docs.
MSG
# exit if not matching files or if no product intelligence labels
-matching_changed_files = product_intelligence.matching_changed_files
+product_intelligence_paths_to_review = project_helper.changes_by_category[:product_intelligence]
labels = product_intelligence.missing_labels
-return if matching_changed_files.empty? || labels.empty?
+return if product_intelligence_paths_to_review.empty? || labels.empty?
-warn format(CHANGED_FILES_MESSAGE, changed_files: helper.markdown_list(matching_changed_files))
+warn format(CHANGED_FILES_MESSAGE, changed_files: helper.markdown_list(product_intelligence_paths_to_review))
gitlab.api.update_merge_request(gitlab.mr_json['project_id'],
gitlab.mr_json['iid'],