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
path: root/danger
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-05-03 03:08:25 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-03 03:08:25 +0300
commitd489dd79cfc33b730022b3c91c29fb8a5583b4b1 (patch)
tree4a0d6acf932a64b605f6a021b9b6c952874f83ef /danger
parentb6a26580610bc6e0ba577260744bc3b52f1ffb46 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'danger')
-rw-r--r--danger/roulette/Dangerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/danger/roulette/Dangerfile b/danger/roulette/Dangerfile
index 8d1b14d3b9a..d83b7788d73 100644
--- a/danger/roulette/Dangerfile
+++ b/danger/roulette/Dangerfile
@@ -104,8 +104,8 @@ categories = Set.new(changes.keys - [:unknown])
# Ensure to spin for database reviewer/maintainer when ~database is applied (e.g. to review SQL queries)
categories << :database if helper.mr_labels.include?('database')
-# Ensure to spin for UX reviewer for community contributions when ~UX is applied (e.g. to review changes to the UI)
-categories << :ux if (["UX", "Community contribution"] - helper.mr_labels).empty?
+# Ensure to spin for UX reviewer when ~UX is applied (e.g. to review changes to the UI) except when it's from wider community contribution where we want to assign from the corresponding group
+categories << :ux if helper.mr_labels.include?('UX') && !helper.mr_labels.include?('Community contribution')
# Ensure to spin for Product Intelligence reviewer when ~"product intelligence::review pending" is applied
categories << :product_intelligence if helper.mr_labels.include?("product intelligence::review pending")