From 52e3f33116d84713ce63988647ac30b835a5cdde Mon Sep 17 00:00:00 2001 From: AztecBot Date: Mon, 6 Jul 2026 15:02:50 +0000 Subject: [PATCH] ci: apply private-port-next label to any v-next merge-train base --- .github/workflows/merge-train-create-pr.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/merge-train-create-pr.yml b/.github/workflows/merge-train-create-pr.yml index 7e9f3b13272b..14a43367ec86 100644 --- a/.github/workflows/merge-train-create-pr.yml +++ b/.github/workflows/merge-train-create-pr.yml @@ -55,8 +55,9 @@ jobs: if [[ "$branch" == "merge-train/spartan" || "$branch" == "merge-train/spartan-v5" || "$branch" == "merge-train/spartan-v6" || "$branch" == "merge-train/ci" ]]; then labels="$labels,ci-full-no-test-cache" fi - # Trains targeting the v5 release line are ports into v5-next. - if [[ "$base_branch" == "v5-next" ]]; then + # Trains targeting a v-next release line (v5-next, v6-next) are + # forward-ported into their base via the private-port-next driver. + if [[ "$base_branch" =~ ^v[0-9]+-next$ ]]; then labels="$labels,private-port-next" fi gh pr create --base "$base_branch" --head "$branch" \