charts/.github/renovate.json5
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 998aa05027
ci: Restructure reusable workflows
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2022-02-04 10:15:16 +01:00

91 lines
2.6 KiB
Plaintext

{
"enabled": true,
"dependencyDashboard": true,
"dependencyDashboardTitle": "Renovate Dashboard",
"assigneesFromCodeOwners": true,
"reviewersFromCodeOwners": true,
"suppressNotifications": ["prIgnoreNotification"],
"rebaseWhen": "conflicted",
"prConcurrentLimit": 5,
"helm-values": {
"enabled": false
},
"helmv3": {
"fileMatch": ["charts/.+/Chart\\.yaml$"]
},
"packageRules": [
// Setup datasources
{
"matchDatasources": ["helm"],
"commitMessageTopic": "Helm chart {{depName}}",
"separateMinorPatch": true
},
// Custom version schemes
{
"matchDatasources": ["github-tags"],
"matchPackageNames": ["potiuk/get-workflow-origin"],
"versioning": "regex:^v(?<major>\\d+)_(?<minor>\\d+)(_(?<patch>\\d+))?$"
},
//
// Common library dep
//
{
"commitMessagePrefix": "[{{{parentDir}}}]",
"branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}",
"updateTypes": ["major"],
"bumpVersion": "major",
"labels": ["type/major"],
"packageNames": ["common"],
"groupName": ["common library major"]
},
{
"updateTypes": ["minor"],
"bumpVersion": "minor",
"labels": ["type/minor"],
"packageNames": ["common"],
"groupName": ["common library minor"]
},
{
"updateTypes": ["patch"],
"bumpVersion": "patch",
"labels": ["type/patch"],
"packageNames": ["common"],
"groupName": ["common library patch"]
},
//
// Other library deps
//
{
"commitMessagePrefix": "[{{{parentDir}}}]",
"branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}",
"updateTypes": ["major"],
"bumpVersion": "major",
"labels": ["type/major"],
"excludePackageNames": ["common"],
"schedule": [
"every 3 months on the first day of the month"
]
},
{
"updateTypes": ["minor"],
"bumpVersion": "minor",
"labels": ["type/minor"],
"excludePackageNames": ["common"],
"groupName": ["external dependency minor"],
"schedule": [
"every 2 months on the first day of the month"
]
},
{
"updateTypes": ["patch"],
"bumpVersion": "patch",
"labels": ["type/patch"],
"excludePackageNames": ["common"],
"groupName": ["external dependency patch"],
"schedule": [
"every 1 months on the first day of the month"
]
}
]
}