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
path: root/danger
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-08-17 03:09:42 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-08-17 03:09:42 +0300
commitb477368cfec3988a86cde7ac389596041a959af5 (patch)
tree0cff528696f0f95b6281bd15058155805a00e361 /danger
parent6e33346af956720a5ee14e843b13d54eccdb06d9 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'danger')
-rw-r--r--danger/roulette/Dangerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/danger/roulette/Dangerfile b/danger/roulette/Dangerfile
index da4a576a242..33fcb6cb807 100644
--- a/danger/roulette/Dangerfile
+++ b/danger/roulette/Dangerfile
@@ -97,7 +97,7 @@ 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?
+if changes.any? || roulette.required_approvals.any?
random_roulette_spins = roulette.spin(nil, categories)
rows = random_roulette_spins.map do |spin|