gerrit/acl : Convert remaining AnyWithBlock to submit requirements

Prior change Id5157b9f59082485b6aff92c4f3527fb4c8084aa updated the
Review-Priority label; this converts the couple of remaining
AnyWithBlock labels that didn't match the review-priority pattern to
submit requirements.

Change-Id: Id57bdb4f6ed38a90a37a738068446197e6a24769
This commit is contained in:
Ian Wienand 2023-03-02 10:33:11 +11:00
parent 861d3fb448
commit 1c0400db53
No known key found for this signature in database
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