towerops/renovate.json
Graham McIntire 714e273c47 chore: configure Renovate to auto-rebase behind PRs (#111)
Add rebaseWhen: 'behind-base-branch' to automatically rebase Renovate PRs
when they fall behind main. This fixes CI failures on dependency update PRs
that were created before recent schema changes (device_role_source removal).

Without auto-rebase, Renovate PRs based on old main fail CI because:
- Old code references removed device_role_source field
- New migrations drop the column
- Tests fail with ERROR 42703 (undefined_column)

Now Renovate will automatically rebase PRs to pick up latest changes.

Reviewed-on: graham/towerops-web#111
2026-03-22 12:31:29 -05:00

65 lines
1.4 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"gitAuthor": "Renovate Bot <bot@renovateapp.com>",
"branchPrefix": "renovate/",
"semanticCommits": "enabled",
"dependencyDashboard": true,
"labels": [
"dependencies"
],
"schedule": [
"at any time"
],
"timezone": "UTC",
"prConcurrentLimit": 10,
"prCreation": "immediate",
"automerge": false,
"rebaseWhen": "behind-base-branch",
"rangeStrategy": "bump",
"separateMajorMinor": true,
"separateMinorPatch": false,
"packageRules": [
{
"description": "Elixir dependencies",
"matchManagers": [
"mix"
],
"matchUpdateTypes": [
"major",
"minor",
"patch"
],
"groupName": null,
"commitMessagePrefix": "chore(deps):"
},
{
"description": "Docker dependencies",
"matchManagers": [
"dockerfile"
],
"matchUpdateTypes": [
"major",
"minor",
"patch"
],
"groupName": null,
"commitMessagePrefix": "chore(deps):"
},
{
"description": "GitHub Actions",
"matchManagers": [
"github-actions"
],
"matchUpdateTypes": [
"major",
"minor",
"patch"
],
"groupName": null,
"commitMessagePrefix": "chore(deps):"
}
]
}