renovatebot / config-help

Please use the Discussions feature of https://github.com/renovatebot/renovate instead
https://github.com/renovatebot/renovate/discussions
MIT License
27 stars 16 forks source link

[Question] Dynamic PR notes #849

Closed sychd closed 4 years ago

sychd commented 4 years ago

Which Renovate are you using?

Renovate Open Source CLI

Which platform are you using?

Bitbucket Server

Have you checked the logs? Don't forget to include them if relevant

What would you like to do?

Hello! Could you please tell, is it available to have dynamic notes for PR? Use-case: I plan to add postUpgradeTask that will rise ticket and want to append the link to that ticket to the PR. Generally, it would be cool to have such dynamic prefixes for commit messages also. I see it like:

{
...
"getCustomPrNotes": "./script-that-returns-custom-notes"
...
}

I've searched for that ability but unfortunately found nothing. Maybe here is some workaround or this feature is planned?

rarkins commented 4 years ago

You may be able to use prBodyNotes for this purpose. However it's not dynamic.

sychd commented 4 years ago

Thanks for response Yes, I saw this config property, but, unfortunately it does not suit the case because it is static

rarkins commented 4 years ago

OK, feel free to raise a feature request in the main repo describing how you would need it to work