initial try at renovate bot

This commit is contained in:
kjeld Schouten-Lebbing 2021-02-04 20:44:51 +01:00
parent 17f6adb2c3
commit 9b0999f63d
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
1 changed files with 83 additions and 0 deletions

83
.github/renovate.json5 vendored Normal file
View File

@ -0,0 +1,83 @@
{
"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
{
"datasources": ["helm"],
"commitMessageTopic": "Helm chart {{depName}}",
"separateMinorPatch": true
},
//
// Common library dep
//
{
"commitMessagePrefix": "[{{{parentDir}}}]",
"branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}",
"updateTypes": ["major"],
"bumpVersion": "major",
"labels": ["dependency/major"],
"packageNames": ["common"]
},
{
"updateTypes": ["minor"],
"bumpVersion": "minor",
"labels": ["dependency/minor"],
"packageNames": ["common"],
"groupName": ["internal minor dep"]
},
{
"updateTypes": ["patch"],
"bumpVersion": "patch",
"labels": ["dependency/patch"],
"packageNames": ["common"],
"groupName": ["internal patch dep"]
},
//
// Other library deps
//
{
"commitMessagePrefix": "[{{{parentDir}}}]",
"branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}",
"updateTypes": ["major"],
"bumpVersion": "major",
"labels": ["dependency/major"],
"excludePackageNames": ["common"],
"schedule": [
"every 3 months on the first day of the month"
]
},
{
"updateTypes": ["minor"],
"bumpVersion": "minor",
"labels": ["dependency/minor"],
"excludePackageNames": ["common"],
"groupName": ["external minor dep"],
"schedule": [
"every 2 months on the first day of the month"
]
},
{
"updateTypes": ["patch"],
"bumpVersion": "patch",
"labels": ["dependency/patch"],
"excludePackageNames": ["common"],
"groupName": ["external patch dep"],
"schedule": [
"every 1 months on the first day of the month"
]
}
]
}