You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#2288 added support for assigning labels to the backported PRs, I'd like to extend this functionality to populate the labels from the source PR to the backported PRs.
Proposal
Extend the backport action with a new list option, f.i: populate_labels (or something else)
See the below snippet as an example of how to configure mergify with it:
Therefore, given the PR-1 with the labels ['bug', 'customer', 'backport-to-stable' ] then when it gets merged the PR-2 is created with the labels ['bug', 'customer']
Thanks
The text was updated successfully, but these errors were encountered:
You can't do it using Mergify for now.
But we do something similar with our merge queue. We created a GitHub Action to copy labels from a PR to the merge queue draft PR. https://github.com/Mergifyio/gha-mergify-merge-queue-labels-copier
You could probably do something similar for backports.
What
#2288 added support for assigning labels to the backported PRs, I'd like to extend this functionality to populate the labels from the source PR to the backported PRs.
Proposal
Extend the
backport
action with a new list option, f.i:populate_labels
(or something else)See the below snippet as an example of how to configure mergify with it:
Therefore, given the PR-1 with the labels ['bug', 'customer', 'backport-to-stable' ] then when it gets merged the PR-2 is created with the labels ['bug', 'customer']
Thanks
The text was updated successfully, but these errors were encountered: