Files
renovate-config/default.json
Ismo Vuorinen d76f1d3d49 chore: overhaul renovate preset config, docs, and tooling
- Switch schema to renovate-global-schema.json
- Remove redundant/deprecated settings and presets
- Add Makefile custom manager for tool version tracking
- Add package groups: illuminate, semantic-release, stylelint,
  tailwind, vite, vue, development tools
- Add check-jsonschema pre-commit hook
- Add .gitignore and CLAUDE.md
- Rewrite README with comprehensive preset documentation
2026-03-07 20:03:31 +02:00

288 lines
6.0 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-global-schema.json",
"assigneesFromCodeOwners": true,
"automergeStrategy": "squash",
"commitBody": "Signed-off-by: {{{gitAuthor}}}",
"commitMessageAction": "update",
"commitMessageExtra": " ({{currentVersion}} → {{newVersion}})",
"customManagers": [
{
"customType": "regex",
"datasourceTemplate": "docker",
"description": [
"Upgrade Dockerfile ENV and FROM variables base on regex. ",
"See https://docs.renovatebot.com/configuration-options/#matchstringsstrategy"
],
"managerFilePatterns": [
"/^Dockerfile$/"
],
"matchStrings": [
"ENV [A-Z]+_VERSION=(?<currentValue>.*) # (?<datasource>.*?)/(?<depName>.*?)(\\&versioning=(?<versioning>.*?))?\\s",
"FROM (?<depName>\\S*):(?<currentValue>\\S*)"
],
"matchStringsStrategy": "any"
},
{
"customType": "regex",
"description": [
"Track tool versions in Makefiles via '# renovate: datasource=X depName=Y' comments. ",
"See https://docs.renovatebot.com/configuration-options/#matchstringsstrategy"
],
"managerFilePatterns": [
"^Makefile$",
".*\\.mk$"
],
"matchStrings": [
"#\\s*renovate:\\s*datasource=(?<datasource>\\S+)\\s+depName=(?<depName>\\S+)\\n[A-Z_]+\\s*:?=\\s*(?<currentValue>v?\\d+\\.\\d+\\.\\d+\\S*)"
],
"versioningTemplate": "semver"
}
],
"dependencyDashboardLabels": [
"no-stale"
],
"dependencyDashboardOSVVulnerabilitySummary": "unresolved",
"dependencyDashboardTitle": "Renovate Dashboard 🤖",
"description": "Renovate config for projects ivuorinen manages",
"digest": {
"enabled": false
},
"extends": [
"config:recommended",
":enableVulnerabilityAlerts",
":labels(dependencies)",
":preserveSemverRanges",
":semanticCommits",
":timezone(Europe/Helsinki)",
"docker:enableMajor",
"helpers:pinGitHubActionDigests",
"security:minimumReleaseAgeNpm",
"schedule:nonOfficeHours"
],
"git-submodules": {
"enabled": true,
"managerFilePatterns": [
"/(^|/)\\.gitmodules$/"
],
"versioning": "git"
},
"ignorePaths": [
"**/*.sops.*",
"**/.archive/**",
"**/testdata/**"
],
"onboardingConfigFileName": ".github/renovate.json",
"packageRules": [
{
"commitMessagePrefix": "chore(deps)!: ",
"labels": [
"type/major"
],
"matchUpdateTypes": [
"major"
]
},
{
"automerge": true,
"automergeType": "branch",
"matchUpdateTypes": [
"minor",
"patch",
"digest"
]
},
{
"commitMessageTopic": "chart {{depName}}",
"matchDatasources": [
"helm"
]
},
{
"commitMessageTopic": "image {{depName}}",
"matchDatasources": [
"docker"
]
},
{
"labels": [
"type/minor"
],
"matchUpdateTypes": [
"minor"
]
},
{
"labels": [
"type/patch"
],
"matchUpdateTypes": [
"patch"
]
},
{
"labels": [
"type/digest"
],
"matchUpdateTypes": [
"digest"
]
},
{
"addLabels": [
"renovate/container"
],
"matchDatasources": [
"docker"
]
},
{
"addLabels": [
"renovate/helm"
],
"matchDatasources": [
"helm"
]
},
{
"addLabels": [
"renovate/ansible"
],
"matchDatasources": [
"galaxy",
"galaxy-collection"
]
},
{
"addLabels": [
"renovate/terraform"
],
"matchDatasources": [
"terraform-provider"
]
},
{
"addLabels": [
"renovate/github-release"
],
"matchDatasources": [
"github-releases",
"github-tags"
]
},
{
"addLabels": [
"renovate/github-action"
],
"matchManagers": [
"github-actions"
],
"semanticCommitScope": "actions"
},
{
"addLabels": [
"renovate/pip"
],
"matchDatasources": [
"pypi"
]
},
{
"groupName": "devDependencies (non-major)",
"matchDepTypes": [
"devDependencies"
],
"matchUpdateTypes": [
"patch",
"minor"
]
},
{
"groupName": "development tools",
"matchFileNames": [
"Makefile",
"**/*.mk"
],
"matchManagers": [
"custom.regex"
]
},
{
"groupName": "eslint",
"matchPackageNames": [
"/eslint/"
]
},
{
"groupName": "illuminate",
"matchPackageNames": [
"/illuminate/"
]
},
{
"groupName": "phpstan",
"matchPackageNames": [
"/phpstan/",
"/larastan/"
]
},
{
"groupName": "semantic-release",
"matchPackageNames": [
"/semantic-release/"
]
},
{
"groupName": "stylelint",
"matchPackageNames": [
"/stylelint/"
]
},
{
"groupName": "tailwind",
"matchPackageNames": [
"/tailwind/"
]
},
{
"groupName": "vite",
"matchPackageNames": [
"/vite/"
]
},
{
"groupName": "vue",
"matchPackageNames": [
"/vue/"
]
}
],
"postUpdateOptions": [
"bundlerConservative",
"composerWithAll",
"gomodUpdateImportPaths",
"npmDedupe",
"pnpmDedupe",
"yarnDedupeHighest"
],
"prHourlyLimit": 5,
"pre-commit": {
"enabled": true
},
"renovate-config-presets": {
"managerFilePatterns": [
"renovate.json",
"renovate.json5",
".github/renovate.json",
".github/renovate.json5",
".gitlab/renovate.json",
".gitlab/renovate.json5",
".renovaterc",
".renovaterc.json",
".renovaterc.json5",
"default.json"
]
},
"reviewersFromCodeOwners": true,
"separateMultipleMajor": true
}