mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-16 01:26:24 +00:00
1,007 B
1,007 B
title | description |
---|---|
Template fields | Explain Renovate template fields |
Template fields
In order to provide flexible configuration, Renovate supports using "templates" for certain fields like branchName
.
Renovate's templates use handlebars under the hood.
You can recognize templates when you see strings like {{depName}}
in configuration fields.
Below you can find lists of fields/values that you can use in templates. Some are configuration options passed through, while others are generated as part of Renovate's run.
Exposed config options
Other available fields
Additional Handlebars helpers
stringToPrettyJSON
If you want to print pretty JSON with Handlebars you can use the built-in function stringToPrettyJSON
like this:
{{{stringToPrettyJSON myvar}}}
In the example above myvar
is a variable/field, that contains valid JSON.