-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Renovate PR Title bug when using {{
and }}
.
#12449
Comments
Renovate compiles using handlebars. Have you experimented with any of its escaping techniques? when I googled I saw some recommendations for "Whitespace control": https://handlebarsjs.com/guide/expressions.html#whitespace-control |
Thanks for responding so quickly! I tried both approaches, but sadly no success. Approach 1 (raw block helpers):
Approach 2 (inline escapes):
|
I think you should try Approach 2 with valid JSON. It should be possible to try it with JSON that parses. e.g. check in https://jsonlint.com/ |
Thanks again for the quick reply. Adding Relevant logs:
|
groupName might get compiled twice. Can you set your repo to reproduce this particular problem? |
I've update the |
Unfortunately I can't work out any way to get it to work, but maybe on day someone will figure it out |
{{
and }}
.{{
and }}
.
How are you running Renovate?
Self-hosted
Please select which platform you are using if self-hosting.
github.com
If you're self-hosting Renovate, tell us what version of Renovate you run.
27.18.1
Describe the bug
---- Updated bug report ----
Renovate PR Title bug
Given a repository with the structure:
and upgrading packages using the
Pipfile
in{{project_template}}
andproject_template
,and the relevant configuration parameters in
renovaterc.json
are set like:The expect PR has the following properties:
The actual PR has the following properties:
Hence, the expected
PR Title 1
is different than the actualPR Title 1
.PR Title 2
is handled correctly.---- Original bug report ----
Renovate PR Title, CommitMessage and Branchname bug when using
{{
and}}
.Given a repository with the structure:
and upgrading packages using the
Pipfile
in{{project_template}}
and the relevant configuration parameters in
renovaterc.json
are set like:The expect PR has the following properties:
The actual PR has the following properties:
An identical project named
project_template
is added to showcase the expected Renovate behaviour.Minimal repository: https://github.com/picnic-sven/Renovate-PRTitle-CommitMessage-Branchname-Bug
Bug confirmed with Renovate versions 27.18.1 (self-hosted) and 28.21.4 (GH app)
Relevant debug logs
No response
Have you created a minimal reproduction repository?
I have linked to a minimal reproduction repository in the bug description
The text was updated successfully, but these errors were encountered: