chore: Configure Renovate #39
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"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"]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user