From f2f7d7917277c6607cba45a8fc03efb9588f4eb5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 7 Dec 2024 09:59:41 +0000 Subject: [PATCH 1/2] Migrate config .github/renovate.json --- .github/renovate.json | 46 ++++++++++++++++++++++++++++++++----------- 1 file changed, 35 insertions(+), 11 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 0085bbf..56d7e56 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,9 +1,14 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["github>casse-boubou/ha-addon-workflows//.github/renovate.json"], - "regexManagers": [ + "extends": [ + "github>casse-boubou/ha-addon-workflows//.github/renovate.json" + ], + "customManagers": [ { - "fileMatch": ["/build.yaml$"], + "customType": "regex", + "fileMatch": [ + "/build.yaml$" + ], "matchStringsStrategy": "any", "matchStrings": [ "(aarch64|amd64|armhf|armv7|i386):\\s[\"']?(?.*?):(?.*?)[\"']?\\s" @@ -11,7 +16,10 @@ "datasourceTemplate": "docker" }, { - "fileMatch": ["/Dockerfile$"], + "customType": "regex", + "fileMatch": [ + "/Dockerfile$" + ], "matchStringsStrategy": "any", "matchStrings": [ "ARG BUILD_FROM=(?.*?):(?.*?)\\s+" @@ -19,7 +27,10 @@ "datasourceTemplate": "docker" }, { - "fileMatch": ["/Dockerfile$"], + "customType": "regex", + "fileMatch": [ + "/Dockerfile$" + ], "matchStringsStrategy": "any", "matchStrings": [ "\\s\\s(?[a-z0-9][a-z0-9-_]+)=(?[a-z0-9-_.]+)\\s+" @@ -29,8 +40,13 @@ "depNameTemplate": "alpine_3_21/{{package}}" }, { - "fileMatch": ["/Dockerfile$"], - "matchStrings": ["ARG SHARRY_VERSION=(?.+?)\\s+"], + "customType": "regex", + "fileMatch": [ + "/Dockerfile$" + ], + "matchStrings": [ + "ARG SHARRY_VERSION=(?.+?)\\s+" + ], "datasourceTemplate": "github-tags", "depNameTemplate": "eikek/sharry", "versioningTemplate": "loose" @@ -38,19 +54,27 @@ ], "packageRules": [ { - "matchDatasources": ["docker"], + "matchDatasources": [ + "docker" + ], "commitMessagePrefix": "⬆️", "commitMessageTopic": "Addon Base Image" }, { - "matchDatasources": ["repology"], + "matchDatasources": [ + "repology" + ], "commitMessagePrefix": "⬆️", "commitMessageTopic": "{{packageName}}", "groupName": "internal packages" }, { - "matchDatasources": ["github-tags"], - "matchDepNames": ["eikek/sharry"], + "matchDatasources": [ + "github-tags" + ], + "matchDepNames": [ + "eikek/sharry" + ], "commitMessagePrefix": "✨", "commitMessageTopic": "Sharry" } From 349f8340b4a6b85d1654c4ed8c37da4241dd26ab Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Sat, 7 Dec 2024 09:59:53 +0000 Subject: [PATCH 2/2] Prettified Code! --- .github/renovate.json | 40 ++++++++++------------------------------ 1 file changed, 10 insertions(+), 30 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 56d7e56..833841f 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,14 +1,10 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "github>casse-boubou/ha-addon-workflows//.github/renovate.json" - ], + "extends": ["github>casse-boubou/ha-addon-workflows//.github/renovate.json"], "customManagers": [ { "customType": "regex", - "fileMatch": [ - "/build.yaml$" - ], + "fileMatch": ["/build.yaml$"], "matchStringsStrategy": "any", "matchStrings": [ "(aarch64|amd64|armhf|armv7|i386):\\s[\"']?(?.*?):(?.*?)[\"']?\\s" @@ -17,9 +13,7 @@ }, { "customType": "regex", - "fileMatch": [ - "/Dockerfile$" - ], + "fileMatch": ["/Dockerfile$"], "matchStringsStrategy": "any", "matchStrings": [ "ARG BUILD_FROM=(?.*?):(?.*?)\\s+" @@ -28,9 +22,7 @@ }, { "customType": "regex", - "fileMatch": [ - "/Dockerfile$" - ], + "fileMatch": ["/Dockerfile$"], "matchStringsStrategy": "any", "matchStrings": [ "\\s\\s(?[a-z0-9][a-z0-9-_]+)=(?[a-z0-9-_.]+)\\s+" @@ -41,12 +33,8 @@ }, { "customType": "regex", - "fileMatch": [ - "/Dockerfile$" - ], - "matchStrings": [ - "ARG SHARRY_VERSION=(?.+?)\\s+" - ], + "fileMatch": ["/Dockerfile$"], + "matchStrings": ["ARG SHARRY_VERSION=(?.+?)\\s+"], "datasourceTemplate": "github-tags", "depNameTemplate": "eikek/sharry", "versioningTemplate": "loose" @@ -54,27 +42,19 @@ ], "packageRules": [ { - "matchDatasources": [ - "docker" - ], + "matchDatasources": ["docker"], "commitMessagePrefix": "⬆️", "commitMessageTopic": "Addon Base Image" }, { - "matchDatasources": [ - "repology" - ], + "matchDatasources": ["repology"], "commitMessagePrefix": "⬆️", "commitMessageTopic": "{{packageName}}", "groupName": "internal packages" }, { - "matchDatasources": [ - "github-tags" - ], - "matchDepNames": [ - "eikek/sharry" - ], + "matchDatasources": ["github-tags"], + "matchDepNames": ["eikek/sharry"], "commitMessagePrefix": "✨", "commitMessageTopic": "Sharry" }