Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-04-27 09:13:06 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-04-27 09:13:06 +0300
commit3fbe43541ef99c27a9e4ab9c545ec0eb9bb50a9e (patch)
treedf71ce391f93b65a4f44fa719c8def2b9e45d40f /tooling
parent0e1350d51ca2135e37743dfb7af98eae43c72892 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'tooling')
-rw-r--r--tooling/danger/product_intelligence.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tooling/danger/product_intelligence.rb b/tooling/danger/product_intelligence.rb
index d25f966504f..00dc31b9bb9 100644
--- a/tooling/danger/product_intelligence.rb
+++ b/tooling/danger/product_intelligence.rb
@@ -33,8 +33,8 @@ module Tooling
].freeze
def check!
- # exit if not matching files or if no product intelligence labels
- product_intelligence_paths_to_review = helper.changes_by_category[:product_intelligence]
+ product_intelligence_paths_to_review = helper.changes.by_category(:product_intelligence).files
+
labels_to_add = missing_labels
return if product_intelligence_paths_to_review.empty? || skip_review?