0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-03-15 08:34:54 +00:00
renovatebot_renovate/renovate.json
2025-02-22 17:13:23 +00:00

97 lines
3 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>renovatebot/.github"],
"assignees": ["rarkins", "viceice"],
"semanticCommitScope": "deps",
"automergeType": "pr",
"prCreation": "immediate",
"ignorePresets": [":ignoreModulesAndTests"],
"ignorePaths": ["**/node_modules/**", "**/__fixtures__/**", "test/**"],
"rebaseWhen": "conflicted",
"baseBranches": ["$default", "next"],
"dockerfile": {
"semanticCommitType": "build"
},
"packageRules": [
{
"matchPackageNames": ["containerbase/node"],
"versioning": "node"
},
{
"matchDepTypes": ["dependencies", "optionalDependencies"],
"semanticCommitType": "build"
},
{
"matchPackageNames": ["semantic-release"],
"semanticCommitType": "build"
},
{
"matchPackageNames": ["@types/jest"],
"groupName": "jest monorepo"
},
{
"matchFileNames": ["**/__fixtures__/**"],
"enabled": false
},
{
"description": "set fix scope for base image",
"matchPackageNames": ["ghcr.io/renovatebot/base-image"],
"semanticCommitType": "fix"
},
{
"description": "set feat scope for base image major and minor",
"matchPackageNames": ["ghcr.io/renovatebot/base-image"],
"matchUpdateTypes": ["major", "minor"],
"semanticCommitType": "feat"
},
{
"description": "use `feat` semantic commit scope with breaking change for for base image major",
"matchPackageNames": ["ghcr.io/renovatebot/base-image"],
"matchUpdateTypes": ["major"],
"commitMessagePrefix": "feat(deps)!:"
},
{
"description": "allow prereleases for base image on next branch",
"matchPackageNames": ["ghcr.io/renovatebot/base-image"],
"matchBaseBranches": ["next"],
"ignoreUnstable": false
},
{
"description": "set build scope for node updates",
"matchPackageNames": ["node"],
"matchFileNames": [".nvmrc", "tools/docker/Dockerfile"],
"semanticCommitType": "build"
},
{
"description": "set branch prefix for node major updates to split from minor updates",
"matchPackageNames": ["node"],
"matchUpdateTypes": ["major"],
"additionalBranchPrefix": "major"
},
{
"description": "disable some invalid deps from docs",
"matchPackageNames": ["my.old.registry/**", "my.new.registry/**"],
"matchFileNames": ["docs/**/*.md"],
"enabled": false
},
{
"description": "require approval on next branch",
"matchPackageNames": [
"!ghcr.io/containerbase/sidecar",
"!ghcr.io/renovatebot/base-image"
],
"matchBaseBranches": ["next"],
"dependencyDashboardApproval": true
}
],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["config/options/index.ts"],
"matchStrings": [
"default: '(?<depName>ghcr.io/containerbase/sidecar):(?<currentValue>.*)'"
],
"datasourceTemplate": "docker"
}
]
}