restrict enforced backport voting to master branch

as a slight tweak to:
https://review.opendev.org/c/openstack/project-config/+/910212

reasoning: we don't need voting for backports
on stable or unmaintained branches

Change-Id: I10587e0ebd3872a208c04554e17fa44f3a5547f2
Signed-off-by: Sven Kieske <kieske@osism.tech>
This commit is contained in:
Sven Kieske 2024-05-27 13:49:28 +02:00
parent 8d1ccc7cc8
commit f9ce1e77d9
No known key found for this signature in database

View File

@ -56,6 +56,7 @@
submittableIf = is:true
[submit-requirement "NonZeroBackportCandidate"]
applicableIf = branch:master
description = A non-zero vote on Backport-Candidate is required before submitting changes
submittableIf = label:Backport-Candidate=1 OR label:Backport-Candidate=-1 OR label:Backport-Candidate=-2 OR label:Backport-Candidate=2