Don't honor Bot-Commit+1 if Code-Review-2 is set
Don't bypass the code review requirement for a vote of Bot-Commit +1
if somebody has voted Code-Review -2 on a change.
Change-Id: I10cc8ab6f352569b36c4c20ede8139ee5cbf9806
Reviewed-on: https://bluetooth-review.googlesource.com/c/All-Projects/+/2340
Reviewed-by: Danielle Kay <danikay@google.com>
diff --git a/project.config b/project.config
index 1b4f5c7..873b9df 100644
--- a/project.config
+++ b/project.config
@@ -93,7 +93,7 @@
[submit-requirement "Code-Review"]
description = The Code-Review label is required.
submittableIf = -label:Code-Review=MIN AND label:Code-Review=MAX,user=non_uploader
- overrideIf = label:Bot-Commit=MAX
+ overrideIf = label:Bot-Commit=MAX AND -label:Code-Review=MIN
canOverrideInChildProjects = true
[submit-requirement "No-Patches-File"]
description = Patches are not submittable if they have patches.json in the root of the repo.