Require comments to be resolved before submission
Bug: b/372898579
Change-Id: I4cfb68aae90caeea628f96b3e3ed7ec946210361
diff --git a/project.config b/project.config
index c8026f4..c52a0ad 100644
--- a/project.config
+++ b/project.config
@@ -98,3 +98,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