Modify "release merge" task to only pick MRs with bug, regression or documentation labels
When wrapping the final details for 12.7.1
, we discovered a feature was wrongly picked into the prep branch (gitlab-org/gitlab!22744 (comment 276580016)), which caused to start a new patch release, as features can't be included on patch releases.
We should modify the release merge x.x.x
task to only pick MRs that fulfill the following requirements:
- MR's that have "Pick into x.x" and,
- MR's that have either bug, regression or documentation labels.
If not, they shouldn't be picked into the prep branch. The behavior will be similar to what the auto-deploy picker does at the moment: picking only MR's with specific severity and security labels