Commit f6d0149
authored
ci: apply private-port-next label to any v<N>-next merge-train base (v5-next) (#24538)
Follow-up to the merged v6 merge-train wiring (#24516 / #24517).
Generalizes the `private-port-next` auto-label in
`merge-train-create-pr.yml` from `v5-next`-only to any `v<N>-next` base,
so `merge-train/spartan-v6` PRs into `v6-next` are automatically
forward-ported by the private-port-next driver — matching the agreed v6
plan (v6-next work is forward-ported, not held).
```
- if [[ "$base_branch" == "v5-next" ]]; then
+ if [[ "$base_branch" =~ ^v[0-9]+-next$ ]]; then
```
No change to v5 behavior (`v5-next` still matches). Hand-ported onto
`v5-next` so a `v6-next` forked off it carries the rule immediately;
companion PR opened against `next` to keep the two workflow copies
identical.
---
*Created by
[claudebox](https://claudebox.work/v2/sessions/706da64a13de6c13) ·
group: `slackbot`*1 parent f397aa5 commit f6d0149
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| |||
0 commit comments