Block submission of patches.json files See also http://go/pigweed-dependent-cls-v2. Bug: b/232234662 Change-Id: I1b85eece549d09d10e62e27cbb2b6f767507cd4a Reviewed-on: https://bluetooth-review.git.corp.google.com/c/All-Projects/+/1100 Reviewed-by: Ted Pudlik <tpudlik@google.com>
diff --git a/project.config b/project.config index ddc45e7..2379d91 100644 --- a/project.config +++ b/project.config
@@ -87,3 +87,8 @@ submittableIf = -label:Code-Review=MIN AND label:Code-Review=MAX,user=non_uploader overrideIf = label:Bot-Commit=MAX canOverrideInChildProjects = true +[submit-requirement "No-Patches-File"] + description = Patches are not submittable if they have patches.json in the root of the repo. + applicableIf = file:\"^patches\\.json$\" + submittableIf = is:false + canOverrideInChildProjects = true