feat(monorepo-gerrit): swap owners plugin for code-owners

Change-Id: I9e05384b58dac258bc2da41c22e321b20451ef00
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6686
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: lukegb <lukegb@tvl.fyi>
Tested-by: BuildkiteCI
This commit is contained in:
Luke Granger-Brown 2022-09-19 05:36:40 +00:00 committed by lukegb
parent f190712b7f
commit adf092a26b

View file

@ -28,7 +28,7 @@ in
];
plugins = with depot.third_party.gerrit_plugins; [
owners
code-owners
oauth
depot.ops.gerrit-tvl
];
@ -107,6 +107,15 @@ in
# client-secret is set in /var/lib/gerrit/etc/secure.config.
};
plugin.code-owners = {
# A Code-Review +2 vote is required from a code owner.
requiredApproval = "Code-Review+2";
# The OWNERS check can be overriden using an Owners-Override vote.
overrideApproval = "Owners-Override+1";
# People implicitly approve their own changes automatically.
enableImplicitApprovals = "TRUE";
};
# Allow users to add additional email addresses to their accounts.
oauth.allowRegisterNewEmail = true;