Commit a5f58316 authored by Piotr Skorupa's avatar Piotr Skorupa

Fix wrong conditional in roulette Dangerfile

parent c827d97b
...@@ -111,7 +111,7 @@ categories << :ux if (["UX", "Community contribution"] - helper.mr_labels).empty ...@@ -111,7 +111,7 @@ categories << :ux if (["UX", "Community contribution"] - helper.mr_labels).empty
categories << :product_intelligence if helper.mr_labels.include?("product intelligence::review pending") categories << :product_intelligence if helper.mr_labels.include?("product intelligence::review pending")
# Skip Product intelligence reviews for growth experiment MRs # Skip Product intelligence reviews for growth experiment MRs
categories.delete(:product_intelligence) unless helper.mr_labels.include?("growth experiment") categories.delete(:product_intelligence) if helper.mr_labels.include?("growth experiment")
if changes.any? if changes.any?
random_roulette_spins = roulette.spin(nil, categories, timezone_experiment: false) random_roulette_spins = roulette.spin(nil, categories, timezone_experiment: false)
......
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