diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-03 03:08:25 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-03 03:08:25 +0300 |
commit | d489dd79cfc33b730022b3c91c29fb8a5583b4b1 (patch) | |
tree | 4a0d6acf932a64b605f6a021b9b6c952874f83ef /danger | |
parent | b6a26580610bc6e0ba577260744bc3b52f1ffb46 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'danger')
-rw-r--r-- | danger/roulette/Dangerfile | 4 |
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") |