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:
parent
f190712b7f
commit
adf092a26b
1 changed files with 10 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue