template fields in the config should not be wrapped with single quotes #30915
Replies: 2 comments 1 reply
-
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.
-
I'm not aware of any reason why this should make a difference. Can you reproduce it on github.com? |
Beta Was this translation helpful? Give feedback.
-
What would you like help with?
Other
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.
GitLab: 17.1.2; Renovate: 38
Please tell us more about your question or problem
Hi,
I have a monorepo containing multiple AWS lambda functions. I wanted to have each of them being updated separately instead of grouped together. So, I used the
{{parentDir}}
template field to group them accordingly.Originally I had the template field wrapped in single quote but it wasn't working. The entire config of grouping under
packageRule
wasn't even taking effect. After several trial & error, I found out that the config wasn't recognized because of using single quotes around the{{parentDir}}
. After I switched to double quotes, the grouping was working as expected. Below is a snippet of the change I needed to make.Is this expected? I don't recall seeing any error in the renovate log. Not sure if I missed it in the doc, but didn't notice any special call out that template fields cannot be wrapped with single-quotes. Or, maybe that is somehow implied and I just didn't know. If this is how it's supposed to be used, what do you think of calling it out in the docs?
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions