AI / RenovateBot Interview Questions
How do you configure Renovate to rebase or update pull requests when the base branch changes?
Renovate's rebaseWhen setting controls when it automatically rebases update branches.
| Value | Behaviour |
|---|---|
| auto (default) | Rebase when PR is behind the base branch OR has conflicts |
| never | Never rebase — leave branch as-is even if conflicts exist |
| conflicted | Only rebase if there are merge conflicts |
| behind-base-branch | Rebase whenever PR is behind the base branch, even without conflicts |
{ "rebaseWhen": "auto", "rebaseLabel": "rebase", "packageRules": [ { "matchUpdateTypes": ["patch"], "automerge": true, "rebaseWhen": "behind-base-branch" } ] }
What does rebaseWhen: 'auto' (the default) do for Renovate pull requests?
How can a developer manually trigger Renovate to rebase a specific PR?
More Related questions...