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
diff options
context:
space:
mode:
Diffstat (limited to 'danger/roulette/Dangerfile')
-rw-r--r--danger/roulette/Dangerfile8
1 files changed, 2 insertions, 6 deletions
diff --git a/danger/roulette/Dangerfile b/danger/roulette/Dangerfile
index 39b79745ead..33fcb6cb807 100644
--- a/danger/roulette/Dangerfile
+++ b/danger/roulette/Dangerfile
@@ -97,12 +97,8 @@ categories = roulette.prepare_categories(changes.keys - [:unknown])
# Skip specialty reviews for stable branch MRs since they have already been merged to the default branch
categories.subtract([:database, :ux, :analytics_instrumentation]) if stable_branch.valid_stable_branch?
-if changes.any?
- random_roulette_spins = roulette.spin(nil, categories, timezone_experiment: false)
-
- if categories.include?(:ux) # rubocop:disable Style/IfUnlessModifier
- roulette.assign_pedroms_for_ux_wider_community_contribution(random_roulette_spins)
- end
+if changes.any? || roulette.required_approvals.any?
+ random_roulette_spins = roulette.spin(nil, categories)
rows = random_roulette_spins.map do |spin|
markdown_row_for_spin(spin.category, spin)