Skip to content
代码片段 群组 项目
未验证 提交 d8f51e91 编辑于 作者: Rémy Coutable's avatar Rémy Coutable
浏览文件

Show reviewer roulette when there's only codeowners approvals


Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
上级 e2a6298f
No related branches found
No related tags found
无相关合并请求
......@@ -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|
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册