AI / RenovateBot Interview Questions
How do you configure Renovate pull request titles, commit messages, and branch names?
Renovate generates PR titles, commit messages, and branch names from configurable Handlebars-like templates.
{ "prTitle": "chore(deps): update {{depName}} {{#if isMajor}}(MAJOR) {{/if}}to {{newVersion}}", "commitMessage": "chore(deps): {{commitMessageAction}} {{commitMessageTopic}}", "branchPrefix": "renovate/", "semanticCommits": "enabled", "semanticCommitType": "chore", "semanticCommitScope": "deps" }
| Variable | Value |
|---|---|
| {{depName}} | The package name (e.g. lodash) |
| {{currentVersion}} | The version currently in the file |
| {{newVersion}} | The version Renovate wants to update to |
| {{updateType}} | major, minor, patch, pin, digest |
| {{manager}} | The package manager (npm, pip, dockerfile…) |
| {{isMajor}} | Boolean: true if this is a major version bump |
More Related questions...