Problem
The auto-backport workflow is configured to copy all labels from the source PR to backported PRs using copy_labels_pattern: .+, but the version-upgrade label is not being copied.
Example
Impact
Backported PRs fail the auto-approve workflow because they're missing the required version-upgrade label:
##[error] Label check failed: required any of 'version-upgrade', but found 0.
This blocks automatic approval and merging, requiring manual intervention to:
- Add the
version-upgrade label
- Manually approve the PR
- Enable auto-merge
Expected Behavior
When a PR with the version-upgrade label is backported, the backported PRs should automatically receive the same label.
Current Workflow Configuration
.github/workflows/auto-backport.yml:
This should copy all labels, but it's not working for version-upgrade.
Workaround
Manually add the version-upgrade label to backported PRs.
Related PRs
Possible Causes
- The backport action might be skipping certain labels
- There might be a timing issue where labels aren't copied
- The label pattern might not be matching correctly
Problem
The auto-backport workflow is configured to copy all labels from the source PR to backported PRs using
copy_labels_pattern: .+, but theversion-upgradelabel is not being copied.Example
version-upgradelabel ✓version-upgradelabel ✗Impact
Backported PRs fail the auto-approve workflow because they're missing the required
version-upgradelabel:This blocks automatic approval and merging, requiring manual intervention to:
version-upgradelabelExpected Behavior
When a PR with the
version-upgradelabel is backported, the backported PRs should automatically receive the same label.Current Workflow Configuration
.github/workflows/auto-backport.yml:This should copy all labels, but it's not working for
version-upgrade.Workaround
Manually add the
version-upgradelabel to backported PRs.Related PRs
Possible Causes