Commit d33c1d8a authored by Austin Regnery's avatar Austin Regnery Committed by Ash McKenzie

Fix the logic for &&

parent 22c0c52b
...@@ -97,7 +97,7 @@ categories = Set.new(changes.keys - [:unknown]) ...@@ -97,7 +97,7 @@ categories = Set.new(changes.keys - [:unknown])
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) # Ensure to spin for UX reviewer for community contributions when ~UX is applied (e.g. to review changes to the UI)
categories << :UX if helper.mr_labels.include?('UX') && ('Community contribution') 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 # 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")
......
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