All-Projects: Add submit requirement for Code-Review
Also remove the blocking label function for Code-Review
Change-Id: If2e1da397ec5e553bbef9396c727c095003196da
diff --git a/project.config b/project.config
index 3d5ce27..195e560 100644
--- a/project.config
+++ b/project.config
@@ -65,7 +65,7 @@
value = +1 Looks good to me
function = NoBlock
[label "Code-Review"]
- function = MaxWithBlock
+ function = NoBlock
abbreviation = R
defaultValue = 0
copyMinScore = true
@@ -154,3 +154,8 @@
group = cria:googlers
project = ^(?!(All-Projects)).*$
skipViaPushOption = true
+[submit-requirement "Code-Review"]
+ description = At least one maximum vote for label 'Code-Review' is required
+ submittableIf = label:Code-Review=MAX,user=non_uploader AND -label:Code-Review=MIN
+ overrideIf = label:Bot-Commit=+1
+ canOverrideInChildProjects = true