chore(deps): configure renovate

Weekly, conventional commits, three days of release age (security fixes
at once), majors only after approval on the dependency dashboard, digests
pinned for images, go mod tidy after Go updates. The Go version moves as
one group, TimescaleDB keeps its Postgres major (see #38), Tailwind stays
at 4.3 and Node at LTS releases.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
Sebastian UnterschützandClaude Opus 5.5 committed 2026-11-22 11:19:06 +01:00
1 parent 3e9312433f
commit 962c2982fd
1 file changed
+78 -1
+78 -1
View File
@@ -1,6 +1,83 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
"config:recommended",
":semanticCommits",
":dependencyDashboard",
":maintainLockFilesWeekly",
"docker:pinDigests"
],
"timezone": "Europe/Berlin",
"schedule": ["before 7am on monday"],
"labels": ["dependencies"],
"prConcurrentLimit": 5,
"prHourlyLimit": 2,
"minimumReleaseAge": "3 days",
"internalChecksFilter": "strict",
"postUpdateOptions": ["gomodTidy", "gomodUpdateImportPaths"],
"vulnerabilityAlerts": {
"description": "Security fixes skip the schedule and the release age.",
"schedule": ["at any time"],
"minimumReleaseAge": null,
"labels": ["dependencies", "security"]
},
"packageRules": [
{
"description": "Major updates change APIs or data formats; they wait for approval on the dependency dashboard.",
"matchUpdateTypes": ["major"],
"dependencyDashboardApproval": true,
"addLabels": ["major"]
},
{
"description": "One Go version everywhere: the go directive, the toolchain and the build image.",
"matchDatasources": ["golang-version"],
"groupName": "Go toolchain",
"rangeStrategy": "bump"
},
{
"description": "One Go version everywhere: the go directive, the toolchain and the build image.",
"matchDatasources": ["docker"],
"matchPackageNames": ["golang"],
"groupName": "Go toolchain"
},
{
"description": "The Postgres major version is part of the TimescaleDB tag (-pg16). Changing it needs a data migration (pg_upgrade or dump/restore), see #38, so only TimescaleDB itself is updated.",
"matchDatasources": ["docker"],
"matchPackageNames": ["timescale/timescaledb"],
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-pg(?<compatibility>\\d+)$"
},
{
"description": "Tailwind CSS is kept at 4.3 as decided for the project; patch releases only.",
"matchPackageNames": ["tailwindcss", "@tailwindcss/cli"],
"allowedVersions": "~4.3.0",
"groupName": "Tailwind CSS"
},
{
"description": "Fonts change rarely and together.",
"matchPackageNames": ["@fontsource/**"],
"groupName": "Fonts"
},
{
"description": "Node only builds the frontend; LTS releases are enough.",
"matchDatasources": ["docker"],
"matchPackageNames": ["node"],
"allowedVersions": "/^\\d*[02468]-alpine$/"
},
{
"description": "Development tools of the Go module (templ, sqlc and friends) go in one pull request.",
"matchManagers": ["gomod"],
"matchDepTypes": ["tool", "indirect"],
"groupName": "Go tools and indirect dependencies"
},
{
"description": "golang.org/x modules are released together.",
"matchPackageNames": ["golang.org/x/**"],
"groupName": "golang.org/x"
},
{
"description": "Images of the local development environment are less critical than the shipped image.",
"matchManagers": ["docker-compose"],
"addLabels": ["dev-env"]
}
]
}