From e1537c6ddae6ff259c5dce7b6fd418aa2af7aced Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Sun, 2 Jan 2022 12:12:32 +0100 Subject: [PATCH] fix(ci): adapt renovate config --- CODEOWNERS | 1 + Chart.yaml | 2 +- renovate.json | 25 +++++++++++++++++++++++-- 3 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 CODEOWNERS diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 0000000..0d7e674 --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1 @@ +* @volker.raschek \ No newline at end of file diff --git a/Chart.yaml b/Chart.yaml index 55712ba..1aac041 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -3,7 +3,7 @@ name: renovate description: Helm chart for renovate bot type: application version: 1.0.0 -appVersion: "31.11.2-slim" +appVersion: "31.11.1-slim" icon: https://avatars3.githubusercontent.com/u/38656520?s=400&v=4 keywords: diff --git a/renovate.json b/renovate.json index d6ec474..f34171a 100644 --- a/renovate.json +++ b/renovate.json @@ -1,8 +1,27 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "assigneesFromCodeOwners": true, "automergeStrategy": "merge-commit", "automergeType": "pr", - "assignees": [ "volker.raschek" ], + "labels": [ "renovate" ], + "packageRules": [ + { + "description": "Automatically update minor and patch versions of the renovate container image", + "addLabels": [ "renovate/kubernetes", "renovate/automerge" ], + "automerge": true, + "matchBaseBranches": [ "master" ], + "matchManagers": [ "kubernetes" ], + "matchUpdateTypes": [ "minor", "patch" ] + }, + { + "description": "Prepare MR for major update minor of the renovate container image", + "addLabels": [ "renovate/kubernetes" ], + "automerge": false, + "matchBaseBranches": [ "master" ], + "matchManagers": [ "kubernetes" ], + "matchUpdateTypes": [ "major" ] + } + ], "regexManagers": [ { "description": "Update renovate container image reference", @@ -15,5 +34,7 @@ "depNameTemplate": "docker.io/renovate/renovate", "datasourceTemplate": "docker" } - ] + ], + "rebaseLabel": "renovate/rebase", + "rebaseWhen": "behind-base-branch" } \ No newline at end of file