Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Copy applicable labels from original PR when backporting. #12

Open
Swiddis opened this issue Mar 11, 2024 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@Swiddis
Copy link

Swiddis commented Mar 11, 2024

Is your feature request related to a problem?
When the backport action backports a PR that may have several labels, that information is lost in the backport unless manually re-added. For changelog work within our team, it's important for us to have appropriate changelog labels for all merged PRs, but it can be easy to forget to copy the labels from an original PR (example) to its backport (example).

What solution would you like?
An optional flag in the action that will copy any labels present on the PR, skipping any backport labels. Something like copy_labels_to_backport: boolean?

What alternatives have you considered?
N/A

Do you have any additional context?
N/A

@Swiddis Swiddis added the enhancement New feature or request label Mar 11, 2024
@Swiddis
Copy link
Author

Swiddis commented Mar 11, 2024

Looks like there's a similar issue on the upstream repo that's also open. They hint at a solution with existing functionality, might experiment with it later.

@VachaShah
Copy link
Owner

This would be a great addition @Swiddis! Please feel free to raise a PR if you end up working out a solution. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants