Merge "gerrit/acl : Convert remaining AnyWithBlock to submit requirements"

This commit is contained in:
Zuul 2023-03-14 05:49:52 +00:00 committed by Gerrit Code Review
commit fc040110c2
2 changed files with 10 additions and 2 deletions

View File

@ -17,7 +17,7 @@ value = +2 Unused +2
[label "Rollcall-Vote"]
copyCondition = changekind:TRIVIAL_REBASE
defaultValue = 0
function = AnyWithBlock
function = NoOp
value = -2 Veto
value = -1 No
value = 0 Abstain
@ -34,3 +34,7 @@ mergeContent = true
applicableIf = is:false
description = Informational vote on current revision
submittableIf = is:true
[submit-requirement "Rollcall-Vote"]
description = Votes from core team members
submittableIf = -label:Rollcall-Vote=MIN

View File

@ -10,7 +10,7 @@ label-Workflow = -1..+1 group releases-core
[label "PTL-Approved"]
copyCondition = changekind:TRIVIAL_REBASE
defaultValue = 0
function = AnyWithBlock
function = NoOp
value = -1 Block
value = 0 Abstain
value = +1 Approved by PTL
@ -21,3 +21,7 @@ requireContributorAgreement = true
[submit]
mergeContent = true
[submit-requirement "PTL-Approved"]
description = PTL Approval
submittableIf = -label:PTL-Approved=MIN