From 23b36fafdfe42005df07f684ac1277e045d04003 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 15 Nov 2024 14:50:10 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E2=AC=86=EF=B8=8F:=20migrate=20config=20.g?= =?UTF-8?q?ithub/renovate.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/renovate.json | 50 ++++++++++++++++++++++++++++++++----------- 1 file changed, 38 insertions(+), 12 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 4e8adb2..ae2b9b0 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+" @@ -26,7 +36,10 @@ "depNameTemplate": "alpine_3_20/{{package}}" }, { - "fileMatch": ["/Dockerfile$"], + "customType": "regex", + "fileMatch": [ + "/Dockerfile$" + ], "matchStrings": [ "ARG BOOKSTACK_VERSION=[\"']?(?.+?)[\"']?\\s+" ], @@ -37,23 +50,36 @@ ], "packageRules": [ { - "matchDatasources": ["repology"], + "matchDatasources": [ + "repology" + ], "automerge": true }, { "groupName": "PHP", - "matchDatasources": ["repology"], - "matchDepPatterns": ["alpine.*/php.*"], - "automerge": true + "matchDatasources": [ + "repology" + ], + "automerge": true, + "matchDepNames": [ + "/alpine.*/php.*/" + ] }, { "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 } ] From c1d45f990f7898327d01a86117b22ef5aab54fb2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Fri, 15 Nov 2024 14:50:21 +0000 Subject: [PATCH 2/2] Prettified Code! --- .github/renovate.json | 43 ++++++++++--------------------------------- 1 file changed, 10 insertions(+), 33 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index ae2b9b0..a2bd4e7 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -2,19 +2,13 @@ "$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}}", "customManagers": [ { "customType": "regex", - "fileMatch": [ - "/Dockerfile$", - "/build.yaml$" - ], + "fileMatch": ["/Dockerfile$", "/build.yaml$"], "matchStringsStrategy": "any", "matchStrings": [ "ARG BUILD_FROM=(?.*?):(?.*?)\\s+", @@ -24,9 +18,7 @@ }, { "customType": "regex", - "fileMatch": [ - "/Dockerfile$" - ], + "fileMatch": ["/Dockerfile$"], "matchStringsStrategy": "any", "matchStrings": [ "\\s\\s(?[a-z0-9][a-z0-9-_]+)=(?[a-z0-9-_.]+)\\s+" @@ -37,9 +29,7 @@ }, { "customType": "regex", - "fileMatch": [ - "/Dockerfile$" - ], + "fileMatch": ["/Dockerfile$"], "matchStrings": [ "ARG BOOKSTACK_VERSION=[\"']?(?.+?)[\"']?\\s+" ], @@ -50,36 +40,23 @@ ], "packageRules": [ { - "matchDatasources": [ - "repology" - ], + "matchDatasources": ["repology"], "automerge": true }, { "groupName": "PHP", - "matchDatasources": [ - "repology" - ], + "matchDatasources": ["repology"], "automerge": true, - "matchDepNames": [ - "/alpine.*/php.*/" - ] + "matchDepNames": ["/alpine.*/php.*/"] }, { "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 } ]