From 9b0999f63dcf97fec824e1613c62f54d89fa3db3 Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Thu, 4 Feb 2021 20:44:51 +0100 Subject: [PATCH] initial try at renovate bot --- .github/renovate.json5 | 83 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 .github/renovate.json5 diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 00000000000..88c8997faad --- /dev/null +++ b/.github/renovate.json5 @@ -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" + ] + } + ] +}