Skip to content

Automated CP workflow should remove labels that don't apply #174056

@bkonyi

Description

@bkonyi

When creating a PR that I planned on cherrypicking into beta and stable, I added the cp: beta and cp: stable labels immediately when creating the PR thinking it would trigger CP PRs to be generated when the PR landed on main. However, it appears these labels are ignored if the PR is not already merged and the CP infrastructure won't automatically create the CP PRs until the PR is merged and the labels are removed and reapplied.

To avoid this, the automated CP workflow should either be updated to check for the cp: * labels when a PR is merged or it should remove the labels if they're added before a PR is merged and leave a comment stating that the labels can only be added after the PR lands.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: annoyanceRepeatedly frustrating issues with non-experimental functionalityteam-infraOwned by Infrastructure teamtriaged-infraTriaged by Infrastructure team

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions