Open kikito opened 1 year ago
Hi, the label part can already be done with:
https://github.com/tibdex/backport/blob/b1bb2aaf611d9f2e5d1900c06493769b9f102a45/action.yml#L32-L39
right?
would a similar input for milestones work for you too?
@tibdex This is a nice feature for this great action.
But how do we use this labels_template
?
Is this correct?
labels_template: "<%= labels %>"
or how is it interpolated?
Some more documentation would be nice.
@tibdex I tried
labels_template: "<%= labels %>"
and
labels_template: "[<%= labels %>]"
both give errors you can see here
I am not sure how to convert the labels via a lodash template string into a JSON Array. Any hints would be appreciated.
It would be great if you could provide some documentation, so that I do not need to create fake commits into my repo that I need to clean up later. Thanks 🙏🏻
Never mind. Switched to https://github.com/sqren/backport
Hi @tibdex, thank you for this github action, it is very useful.
One thing that would help my team would be that when the pull request that is being backported belongs to a github milestone, or has some labels, they get carried over to the backport.
If you are not able to provide this feature for free (which is understandable) would you be open to reviewing a pull request? If that's the case, would you prefer that that's controlled by a config setting, or would you be ok with this being always enabled?