libyuv/project.config
Andrew Mitchell b724d1ec88 Exclude refs/meta/config from Code-Review submit requirement
Bug: 397810527
Change-Id: I1a317e2b76d3f9fe82ebef22172f98c827c42ed6
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/6290870
Reviewed-by: Joey Scarr <jsca@google.com>
Reviewed-by: Andrew Mitchell <mitchella@google.com>
2025-02-24 16:53:51 -08:00

58 lines
2.3 KiB
Plaintext

[access]
inheritFrom = All-Projects
[submit]
action = rebase always
[label "Code-Review"]
abbreviation = R
value = -1 Don't submit as-is
value = 0 No score
value = +1 Looks good to me
defaultValue = 0
function = NoBlock
ignoreSelfApproval = true
copyCondition = changekind:NO_CHANGE OR changekind:NO_CODE_CHANGE OR changekind:TRIVIAL_REBASE OR (has:unchanged-files AND uploaderin:cria/project-libyuv-committers) OR is:MIN
[label "Commit-Queue"]
abbreviation = CQ
value = 0 Not ready
value = +1 Dry run
value = +2 Commit
defaultValue = 0
function = NoBlock
copyCondition = changekind:NO_CHANGE
[label "Verified"]
function = NoBlock
defaultValue = 0
copyCondition = changekind:NO_CHANGE
[access "refs/*"]
owner = group mdb/chrome-git-admins
[access "refs/for/refs/*"]
push = group Logged-in Public Users
create = group Logged-in Public Users
forgeAuthor = group cria/project-libyuv-committers
exclusiveGroupPermissions = addPatchSet
addPatchSet = group cria/project-libyuv-committers
addPatchSet = group libyuv-scoped@luci-project-accounts.iam.gserviceaccount.com
[access "refs/heads/*"]
label-Code-Review = -1..+1 group cria/project-libyuv-committers
submit = group cria/project-libyuv-committers
label-Commit-Queue = +0..+2 group cria/project-libyuv-committers
label-Commit-Queue = +0..+2 group ldap/eng
label-Commit-Queue = +0..+1 group Logged-in Public Users
labelAs-Commit-Queue = +0..+2 group libyuv-scoped@luci-project-accounts.iam.gserviceaccount.com
submit = group libyuv-scoped@luci-project-accounts.iam.gserviceaccount.com
[access "refs/heads/master"]
exclusiveGroupPermissions = push submit
[submit-requirement "Code-Review"]
description = If the author is a libyuv committer, code review is required from one other committer. Otherwise, code review is required from two committers.
submittableIf = ((uploaderin:cria/project-libyuv-committers AND label:Code-Review=MAX,user=non_uploader) OR label:Code-Review=MAX,count>=2) AND -label:Code-Review=MIN
applicableIf = -branch:refs/meta/config
overrideIf = label:Bot-Commit=+1 AND -label:Code-Review=MIN
canOverrideInChildProjects = true
[submit-requirement "Verified"]
description = Submit requirement for the 'Verified' label
applicableIf = is:false
submittableIf = is:true
canOverrideInChildProjects = true