renovatebot-github/.github/renovate.json
renovate[bot] 39633a9695
chore(config): migrate renovate config (#936)
* chore(config): migrate config .github/renovate.json

* Apply suggestions from code review

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-07-15 06:45:15 +00:00

89 lines
3 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>renovatebot/.github", ":pinDependencies"],
"packageRules": [
{
"description": "Update references in Markdown files weekly",
"matchFileNames": ["**/*.md"],
"extends": ["schedule:weekly"],
"automerge": true,
"minimumReleaseAge": null,
"separateMajorMinor": false,
"commitMessageTopic": "references to {{{depName}}}",
"semanticCommitType": "docs",
"semanticCommitScope": null,
"additionalBranchPrefix": "docs-"
},
{
"description": "Use build semantic type for some deps",
"matchPackageNames": ["@vercel/ncc", "typescript"],
"semanticCommitType": "build"
},
{
"description": "Use `build` semantic commit scope for lockfile maintenance",
"matchUpdateTypes": ["lockFileMaintenance"],
"semanticCommitType": "build"
},
{
"description": "Use ci semantic type for some deps",
"matchFileNames": [".github/workflows/**"],
"semanticCommitType": "ci"
},
{
"description": "Don't require approval for renovate",
"matchPackageNames": [
"ghcr.io/renovatebot/renovate",
"renovatebot/github-action"
],
"dependencyDashboardApproval": false
},
{
"description": "Don't pin renovate updates",
"matchPackageNames": ["ghcr.io/renovatebot/renovate"],
"matchFileNames": ["action.yml", "src/docker.ts"],
"pinDigests": false
},
{
"description": "Use feat! semantic type for renovate major",
"matchPackageNames": ["ghcr.io/renovatebot/renovate"],
"matchFileNames": ["action.yml", "src/docker.ts"],
"matchUpdateTypes": ["major"],
"commitMessagePrefix": "feat(deps)!:",
"additionalBranchPrefix": "renovate-major"
}
],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": ["README.md"],
"matchStrings": [
"uses: renovatebot/github-action@(?<currentValue>[^\\s]+)"
],
"depNameTemplate": "renovatebot/github-action",
"datasourceTemplate": "github-releases"
},
{
"customType": "regex",
"managerFilePatterns": ["README.md"],
"matchStrings": ["renovate-version: (?<currentValue>[^\\s]+)"],
"depNameTemplate": "ghcr.io/renovatebot/renovate",
"datasourceTemplate": "docker"
},
{
"description": "Update renovate version in action.yml",
"customType": "regex",
"managerFilePatterns": ["action.yml"],
"matchStrings": ["default: '(?<currentValue>[^\\s]+)' # renovate"],
"depNameTemplate": "ghcr.io/renovatebot/renovate",
"datasourceTemplate": "docker"
},
{
"description": "Update renovate version in src/docker.ts",
"customType": "regex",
"managerFilePatterns": ["src/docker.ts"],
"matchStrings": ["version = '(?<currentValue>[^\\s]+)'; // renovate"],
"depNameTemplate": "ghcr.io/renovatebot/renovate",
"datasourceTemplate": "docker"
}
]
}