Allow handlebars templating for the extends field #27952
Replies: 3 comments
-
I think this should be ok if you can find an elegant way to implement it |
Beta Was this translation helpful? Give feedback.
-
Referring #27955 (comment): Status Quo
Simplified repository tree
Simplified // config.js
module.exports = {
extends: ["local>my-org/renovate"]
...
} The ProblemFor each merge request we run the Example:
The Solution?Allow templating like in the example on top. So we can forward the GitLab CI variable |
Beta Was this translation helpful? Give feedback.
-
Feature included in the following release https://github.com/renovatebot/renovate/releases/tag/37.363.0 |
Beta Was this translation helpful? Give feedback.
-
Tell us more.
Hi everyone,
would it be possible to allow handlebars templating for the
extends
field like in the following example:Self-Hosted configuration
Repository configuration
This could be quite nice in case you are hosting the custom presets within the same repository. We for example run the Renovate config-validator as a CI job on branch level. Unfortunately we need to add the
#my-branch-name
ref to all the local included presets, else Renovate would just simply fetch the files from the default branch.I'm happy to work on a PR in case you are fine with adding such feature (if even possible).
Kind regards,
Lukas
Beta Was this translation helpful? Give feedback.
All reactions