From 7b663092b44b135b8e1a34e2af03e70191113b12 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 8 Nov 2024 21:52:54 +0000 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F:=20migrate=20config=20.githu?= =?UTF-8?q?b/renovate.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/renovate.json | 70 ++++++++++++++++++++++++++++++++----------- 1 file changed, 53 insertions(+), 17 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 4c80984..41e0571 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -2,12 +2,19 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "rebaseWhen": "behind-base-branch", "dependencyDashboard": true, - "labels": ["dependencies", "no-stale"], + "labels": [ + "dependencies", + "no-stale" + ], "commitMessagePrefix": "⬆️", "commitMessageTopic": "{{depName}}", - "regexManagers": [ + "customManagers": [ { - "fileMatch": ["/Dockerfile$", "/build.yaml$"], + "customType": "regex", + "fileMatch": [ + "/Dockerfile$", + "/build.yaml$" + ], "matchStringsStrategy": "any", "matchStrings": [ "ARG BUILD_FROM=(?.*?):(?.*?)\\s+", @@ -16,7 +23,10 @@ "datasourceTemplate": "docker" }, { - "fileMatch": ["/Dockerfile$"], + "customType": "regex", + "fileMatch": [ + "/Dockerfile$" + ], "matchStringsStrategy": "any", "matchStrings": [ "\\s\\s(?[a-z0-9][a-z0-9-]+)=(?[a-z0-9-_.]+)\\s+" @@ -28,38 +38,64 @@ ], "packageRules": [ { - "matchDatasources": ["repology"], + "matchDatasources": [ + "repology" + ], "automerge": true }, { "groupName": "Add-on base image", - "matchDatasources": ["docker"] + "matchDatasources": [ + "docker" + ] }, { "groupName": "Add-on base image", - "matchDatasources": ["docker"], - "matchUpdateTypes": ["minor", "patch"], + "matchDatasources": [ + "docker" + ], + "matchUpdateTypes": [ + "minor", + "patch" + ], "automerge": true }, { - "matchManagers": ["pip_requirements"], - "addLabels": ["python"] + "matchManagers": [ + "pip_requirements" + ], + "addLabels": [ + "python" + ] }, { - "matchManagers": ["pip_requirements"], - "matchDepTypes": ["dev"], + "matchManagers": [ + "pip_requirements" + ], + "matchDepTypes": [ + "dev" + ], "rangeStrategy": "pin" }, { - "matchManagers": ["pip_requirements"], - "matchUpdateTypes": ["minor", "patch"], + "matchManagers": [ + "pip_requirements" + ], + "matchUpdateTypes": [ + "minor", + "patch" + ], "automerge": true }, { "groupName": "Python", - "matchDatasources": ["repology"], - "matchPackagePatterns": ["^alpine_.*/python3(-dev)?$"], - "automerge": true + "matchDatasources": [ + "repology" + ], + "automerge": true, + "matchPackageNames": [ + "/^alpine_.*/python3(-dev)?$/" + ] } ] }