Add submit requirements for project chromiumos/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: I01ca2eab9fdf7ea0d008e8c4fb55ea0de656e043
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/+/3397807
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Tested-by: Youssef Elghareeb <ghareeb@google.com>
1 file changed
tree: e335056f55a39c9397289d1655d4cacc0c188544
  1. code-owners.config
  2. project.config