Require comments to be resolved before submission
Bug: b/5775236
Change-Id: Iefbc023f85565e60044838c949b00afb3f31f878
diff --git a/project.config b/project.config
index c568f56..b9f4d39 100644
--- a/project.config
+++ b/project.config
@@ -88,3 +88,8 @@
submittableIf = label:Code-Review=MAX,user=non_uploader AND -label:Code-Review=MIN
overrideIf = label:Bot-Commit=+1 AND -label:Code-Review=MIN
canOverrideInChildProjects = true
+[submit-requirement "No-Unresolved-Comments"]
+ description = Changes that have unresolved comments are not submittable. Unless overridden with "Unresolved-Comment-Reason: <reason>" line in change message.
+ overrideIf = message:\"^.*Unresolved-Comment-Reason:.*\"
+ applicableIf = has:unresolved
+ submittableIf = -has:unresolved
\ No newline at end of file