prTitle is null
when running templated postUpgradeTasks
#31081
-
What would you like help with?I think I found a bug How are you running Renovate?Self-hosted If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.GitHub + Renovate 38.55.3 Please tell us more about your question or problemI have a pull request in our private repository that is supposed to take the pull request title and feed it to a post update script:
Recently. and I'm not exactly sure when, but it would have been on or after August 8th, With some local debugging, I was able to find that the value of prTitle is https://docs.renovatebot.com/configuration-options/#prtitle Logs (if relevant)Logs
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
Do you mean to say that this is something which used to work but then stopped working? If it used to work, please identify the last working version. |
Beta Was this translation helpful? Give feedback.
-
Changing this to use {{{messageCommit}}} now produces the value:
rather than the expanded result. |
Beta Was this translation helpful? Give feedback.
-
Hi there, Get your discussion fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. Discussions without reproductions are less likely to be converted to Issues. Please follow these steps:
Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
-
Hey, thanks for your help. We were able to use option 1 and this has resolved our issue. Thanks! |
Beta Was this translation helpful? Give feedback.
Two approaches are possible:
prTitle
you instead have a more complicated template of its content, such asUpdate {{depName}} to v{{newVersion}}