Add submit requirements for project infra

Rules for creating new submit requirements are as follows:
* We don't create submit requirements for labels that are not blocking.
* For labels that do not define any values, we assume they are
overriding a label definition from the parent project (i.e. to ignore
this label in the child project), hence we create a non-applicable
submit requirement for them.
* For other blocking labels, we create a corresponding submit
requirement for them.

Note that for the 'Code-Review' requirement we also set the overrideIf
condition to 'Bot-Commit=+1' since this requirement is currently
enforced from All-Projects rules.pl [1]. When this change is submitted,
the Code-Review SR in this change will be authoritative for the project
and needs to behave in the same way as was previously configured.

[1] https://chromium.googlesource.com/All-Projects/+/5ddd22e7537172878280dc2b47373251e842dda7/rules.pl#7

Change-Id: Ibea4a10881f54d645b3379ed86caf42fc0714c49
Reviewed-on: https://chromium-review.googlesource.com/c/infra/+/3398786
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
1 file changed
tree: 5d9a92d214c40731ba5e99e04aa68d673157a3f3
  1. chumpdetector.config
  2. code-owners.config
  3. groups
  4. project.config