TrueChartsClone/.github/renovate.json5

139 lines
4.2 KiB
Plaintext
Raw Normal View History

2021-02-04 14:44:51 -05:00
{
"enabled": true,
"dependencyDashboard": true,
"dependencyDashboardTitle": "Renovate Dashboard",
"assigneesFromCodeOwners": true,
"reviewersFromCodeOwners": true,
"suppressNotifications": ["prIgnoreNotification"],
"rebaseWhen": "conflicted",
"prConcurrentLimit": 5,
"helm-values": {
2021-04-10 11:27:03 -04:00
"fileMatch": ["stable/.+/.+/.*_values\\.yaml$", "incubator/.+/.+/.*_values\\.yaml$", "dev/.+/.+/.*_values\\.yaml$"]
2021-02-04 14:44:51 -05:00
},
"helmv3": {
2021-04-10 11:27:03 -04:00
"fileMatch": ["stable/.+/.+/Chart\\.yaml$", "incubator/.+/.+/Chart\\.yaml$", "dev/.+/.+/Chart\\.yaml$"]
2021-02-04 14:44:51 -05:00
},
"packageRules": [
// Setup datasources for dep updates
2021-02-04 14:44:51 -05:00
{
"datasources": ["helm"],
"matchManagers": ["helmv3"],
2021-02-04 14:44:51 -05:00
"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"
]
},
// Setup datasources tag updates
{
"datasources": ["helm"],
"matchManagers": ["helm-values"],
"commitMessageTopic": "Helm chart {{depName}}"
},
//
// Tag updates for semantic tags
//
{
"commitMessagePrefix": "[{{{parentDir}}}]",
"branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}",
"updateTypes": ["major"],
"bumpVersion": "major",
"labels": ["tag/major"]
},
{
"updateTypes": ["minor"],
"bumpVersion": "patch",
"labels": ["tag/minor"],
"groupName": ["minor"]
},
{
"updateTypes": ["patch", "minor"],
"bumpVersion": "patch",
"labels": ["tag/patch"],
"groupName": ["patch"]
},
//
// Tag updates for linuxserver two-three digit versions
//
{
"packagePatterns": ["^linuxserver\\/"],
"versionScheme": "regex:^(?<compatibility>.*?(\\d+\\.)??)(?<major>\\d+)\\.(?<minor>\\d+)\\.?(?<patch>\\d+)?(-r?p?\\d)?$"
},
{
"commitMessagePrefix": "[{{{parentDir}}}]",
"branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}",
"updateTypes": ["major"],
"bumpVersion": "major",
"labels": ["tag/major"]
},
{
"updateTypes": ["minor"],
"bumpVersion": "patch",
"labels": ["tag/minor"],
"groupName": ["minor"]
},
{
"updateTypes": ["patch", "minor"],
"bumpVersion": "patch",
"labels": ["tag/patch"],
"groupName": ["patch"]
2021-02-04 14:44:51 -05:00
}
]
}