Commit 63e5fd85 authored by Ash McKenzie's avatar Ash McKenzie

Merge branch 'ar-add-ux-to-danger' into 'master'

Add UX reviewer/maintainer to Danger bot

See merge request gitlab-org/gitlab!51127
parents 57db1292 f14f82d2
...@@ -96,6 +96,9 @@ categories = Set.new(changes.keys - [:unknown]) ...@@ -96,6 +96,9 @@ categories = Set.new(changes.keys - [:unknown])
# Ensure to spin for database reviewer/maintainer when ~database is applied (e.g. to review SQL queries) # 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') 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 Product Intelligence reviewer when ~"product intelligence::review pending" is applied # 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") categories << :product_intelligence if helper.mr_labels.include?("product intelligence::review pending")
......
...@@ -6,6 +6,7 @@ SPECIALIZATIONS = { ...@@ -6,6 +6,7 @@ SPECIALIZATIONS = {
database: 'database', database: 'database',
backend: 'backend', backend: 'backend',
frontend: 'frontend', frontend: 'frontend',
ux: 'UX',
docs: 'documentation', docs: 'documentation',
qa: 'QA', qa: 'QA',
tooling: 'type::tooling', tooling: 'type::tooling',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment