From bd091da6d5cb036cf3c58d4ba5671f931c8381e1 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 2 Mar 2022 21:16:54 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- danger/product_intelligence/Dangerfile | 2 +- danger/specialization_labels/Dangerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'danger') diff --git a/danger/product_intelligence/Dangerfile b/danger/product_intelligence/Dangerfile index 77d714a7f60..8f782e3de65 100644 --- a/danger/product_intelligence/Dangerfile +++ b/danger/product_intelligence/Dangerfile @@ -19,4 +19,4 @@ return if product_intelligence_paths_to_review.empty? || product_intelligence.sk warn format(CHANGED_FILES_MESSAGE, changed_files: helper.markdown_list(product_intelligence_paths_to_review)) unless product_intelligence.has_approved_label? -helper.labels_to_add.merge(labels_to_add) unless labels_to_add.empty? +helper.labels_to_add.concat(labels_to_add) unless labels_to_add.empty? diff --git a/danger/specialization_labels/Dangerfile b/danger/specialization_labels/Dangerfile index 7d1c83697fd..b3520e7af7e 100644 --- a/danger/specialization_labels/Dangerfile +++ b/danger/specialization_labels/Dangerfile @@ -26,4 +26,4 @@ labels_to_add = helper.changes_by_category.each_with_object([]) do |(category, _ memo << label end -helper.labels_to_add.merge(labels_to_add) if labels_to_add.any? +helper.labels_to_add.concat(labels_to_add) if labels_to_add.any? -- cgit v1.2.3