Add support for dynamic `targetPRLabels`
See original GitHub issueAs far as I can see from the documentation and examples out there, the specified targetPRLabels is always static (typically set to ["backport"]). However, in some cases, it would be useful to be able to specify a dynamic label to add to the backport PR, e.g. to include the major version of the branch this PR is backported to.
For example, based on the existing branchLabelMapping, targetPRLabels could become: ["$1-backport"].
Please let me know if this use case makes sense and whether backport already supports such functionality. We’ve already been using this convention when manually backporting PRs to release branches and would like to continue doing so when automatising this process.
Issue Analytics
- State:
- Created a year ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
About targets for Dynamic Search Ads - Google Ads Help
Increasing your reach without keywords, targeting for Dynamic Search Ads works by matching people's searches on Google with specific pages on your site....
Read more >Set up a Dynamic Target in the VMware Host Client
Click Storage in the VMware Host Client inventory, click Adapters, and click Configure iSCSI. Click Add dynamic target. The new dynamic target ......
Read more >Using dynamic labels - Amazon CloudWatch
You can use the CloudWatch console to add a dynamic value to a label, edit the label, change the position of the dynamic...
Read more >Finally! Add a TARGET AREA in an Easy Way - YouTube
In this video I show you how to add a target area to a line chart using ... Incorporating what-if parameters 08:23 Adding...
Read more >Dynamic label for target in Bullet chart - Qlik Community
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in. Comment.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Ouch, that looks bad. I don’t know why multiple processes would run simultaneously and cause this. I’ll try to see if I can reproduce.
fyi: I’ve created https://github.com/sqren/backport/pull/400 to support dynamic target labels like you suggested