From f037f7359690b47c8b86415ad0d57207fd346acc Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 10 Nov 2024 10:59:23 +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 | 146 ++++++++++++++++++++++++++++++++---------- 1 file changed, 113 insertions(+), 33 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 46fb1d70b..e24fb1511 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": "debian_12/{{{replace 'openssh-client' 'openssh' package}}}" }, { - "fileMatch": ["/Dockerfile$"], + "customType": "regex", + "fileMatch": [ + "/Dockerfile$" + ], "matchStrings": [ "ARG CODE_SERVER_VERSION=[\"']?(?.+?)[\"']?\\s+" ], @@ -34,7 +47,10 @@ "depNameTemplate": "cdr/code-server" }, { - "fileMatch": ["/Dockerfile$"], + "customType": "regex", + "fileMatch": [ + "/Dockerfile$" + ], "matchStrings": [ "ARG HA_CLI_VERSION=[\"']?(?.+?)[\"']?\\s+" ], @@ -43,28 +59,46 @@ "versioningTemplate": "loose" }, { - "fileMatch": ["vscode/vscode.extensions$"], - "matchStrings": ["emilast\\.LogFileHighlighter#(?.+)\\s"], + "customType": "regex", + "fileMatch": [ + "vscode/vscode.extensions$" + ], + "matchStrings": [ + "emilast\\.LogFileHighlighter#(?.+)\\s" + ], "datasourceTemplate": "github-releases", "depNameTemplate": "emilast/vscode-logfile-highlighter" }, { - "fileMatch": ["vscode/vscode.extensions$"], - "matchStrings": ["esbenp\\.prettier-vscode#(?.+)\\s"], + "customType": "regex", + "fileMatch": [ + "vscode/vscode.extensions$" + ], + "matchStrings": [ + "esbenp\\.prettier-vscode#(?.+)\\s" + ], "datasourceTemplate": "github-releases", "depNameTemplate": "prettier/prettier-vscode", "extractVersionTemplate": "^v(?.*)$" }, { - "fileMatch": ["vscode/vscode.extensions$"], - "matchStrings": ["ESPHome\\.esphome-vscode#(?.+)\\s"], + "customType": "regex", + "fileMatch": [ + "vscode/vscode.extensions$" + ], + "matchStrings": [ + "ESPHome\\.esphome-vscode#(?.+)\\s" + ], "datasourceTemplate": "github-releases", "depNameTemplate": "esphome/esphome-vscode", "versioningTemplate": "loose", "extractVersionTemplate": "^v(?.*)$" }, { - "fileMatch": ["vscode/vscode.extensions$"], + "customType": "regex", + "fileMatch": [ + "vscode/vscode.extensions$" + ], "matchStrings": [ "keesschollaart\\.vscode-home-assistant#(?.+)\\s" ], @@ -73,7 +107,10 @@ "extractVersionTemplate": "^v(?.*)$" }, { - "fileMatch": ["vscode/vscode.extensions$"], + "customType": "regex", + "fileMatch": [ + "vscode/vscode.extensions$" + ], "matchStrings": [ "lukas-tr\\.materialdesignicons-intellisense#(?.+)\\s" ], @@ -82,14 +119,24 @@ "extractVersionTemplate": "^v(?.*)$" }, { - "fileMatch": ["vscode/vscode.extensions$"], - "matchStrings": ["netcorext\\.uuid-generator#(?.+)\\s"], + "customType": "regex", + "fileMatch": [ + "vscode/vscode.extensions$" + ], + "matchStrings": [ + "netcorext\\.uuid-generator#(?.+)\\s" + ], "datasourceTemplate": "github-releases", "depNameTemplate": "arenchen/vscode-uuid-generator" }, { - "fileMatch": ["vscode/vscode.extensions$"], - "matchStrings": ["usernamehw\\.errorlens#(?.+)\\s"], + "customType": "regex", + "fileMatch": [ + "vscode/vscode.extensions$" + ], + "matchStrings": [ + "usernamehw\\.errorlens#(?.+)\\s" + ], "datasourceTemplate": "github-releases", "depNameTemplate": "usernamehw/vscode-error-lens", "extractVersionTemplate": "^v(?.*)$" @@ -97,42 +144,75 @@ ], "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 }, { - "matchDatasources": ["github-releases"], - "matchDepNames": ["coder/code-server"], - "matchUpdateTypes": ["minor", "patch"], + "matchDatasources": [ + "github-releases" + ], + "matchDepNames": [ + "coder/code-server" + ], + "matchUpdateTypes": [ + "minor", + "patch" + ], "automerge": true }, { - "matchDatasources": ["github-releases"], - "matchDepNames": ["home-assistant/cli"], + "matchDatasources": [ + "github-releases" + ], + "matchDepNames": [ + "home-assistant/cli" + ], "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 } ] From 2d7dab386a40b4b5f0027c5f881e68e053d38b9d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Sun, 10 Nov 2024 10:59:33 +0000 Subject: [PATCH 2/2] Prettified Code! --- .github/renovate.json | 133 ++++++++++-------------------------------- 1 file changed, 32 insertions(+), 101 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index e24fb1511..66059a28a 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 CODE_SERVER_VERSION=[\"']?(?.+?)[\"']?\\s+" ], @@ -48,9 +38,7 @@ }, { "customType": "regex", - "fileMatch": [ - "/Dockerfile$" - ], + "fileMatch": ["/Dockerfile$"], "matchStrings": [ "ARG HA_CLI_VERSION=[\"']?(?.+?)[\"']?\\s+" ], @@ -60,35 +48,23 @@ }, { "customType": "regex", - "fileMatch": [ - "vscode/vscode.extensions$" - ], - "matchStrings": [ - "emilast\\.LogFileHighlighter#(?.+)\\s" - ], + "fileMatch": ["vscode/vscode.extensions$"], + "matchStrings": ["emilast\\.LogFileHighlighter#(?.+)\\s"], "datasourceTemplate": "github-releases", "depNameTemplate": "emilast/vscode-logfile-highlighter" }, { "customType": "regex", - "fileMatch": [ - "vscode/vscode.extensions$" - ], - "matchStrings": [ - "esbenp\\.prettier-vscode#(?.+)\\s" - ], + "fileMatch": ["vscode/vscode.extensions$"], + "matchStrings": ["esbenp\\.prettier-vscode#(?.+)\\s"], "datasourceTemplate": "github-releases", "depNameTemplate": "prettier/prettier-vscode", "extractVersionTemplate": "^v(?.*)$" }, { "customType": "regex", - "fileMatch": [ - "vscode/vscode.extensions$" - ], - "matchStrings": [ - "ESPHome\\.esphome-vscode#(?.+)\\s" - ], + "fileMatch": ["vscode/vscode.extensions$"], + "matchStrings": ["ESPHome\\.esphome-vscode#(?.+)\\s"], "datasourceTemplate": "github-releases", "depNameTemplate": "esphome/esphome-vscode", "versioningTemplate": "loose", @@ -96,9 +72,7 @@ }, { "customType": "regex", - "fileMatch": [ - "vscode/vscode.extensions$" - ], + "fileMatch": ["vscode/vscode.extensions$"], "matchStrings": [ "keesschollaart\\.vscode-home-assistant#(?.+)\\s" ], @@ -108,9 +82,7 @@ }, { "customType": "regex", - "fileMatch": [ - "vscode/vscode.extensions$" - ], + "fileMatch": ["vscode/vscode.extensions$"], "matchStrings": [ "lukas-tr\\.materialdesignicons-intellisense#(?.+)\\s" ], @@ -120,23 +92,15 @@ }, { "customType": "regex", - "fileMatch": [ - "vscode/vscode.extensions$" - ], - "matchStrings": [ - "netcorext\\.uuid-generator#(?.+)\\s" - ], + "fileMatch": ["vscode/vscode.extensions$"], + "matchStrings": ["netcorext\\.uuid-generator#(?.+)\\s"], "datasourceTemplate": "github-releases", "depNameTemplate": "arenchen/vscode-uuid-generator" }, { "customType": "regex", - "fileMatch": [ - "vscode/vscode.extensions$" - ], - "matchStrings": [ - "usernamehw\\.errorlens#(?.+)\\s" - ], + "fileMatch": ["vscode/vscode.extensions$"], + "matchStrings": ["usernamehw\\.errorlens#(?.+)\\s"], "datasourceTemplate": "github-releases", "depNameTemplate": "usernamehw/vscode-error-lens", "extractVersionTemplate": "^v(?.*)$" @@ -144,75 +108,42 @@ ], "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 }, { - "matchDatasources": [ - "github-releases" - ], - "matchDepNames": [ - "coder/code-server" - ], - "matchUpdateTypes": [ - "minor", - "patch" - ], + "matchDatasources": ["github-releases"], + "matchDepNames": ["coder/code-server"], + "matchUpdateTypes": ["minor", "patch"], "automerge": true }, { - "matchDatasources": [ - "github-releases" - ], - "matchDepNames": [ - "home-assistant/cli" - ], + "matchDatasources": ["github-releases"], + "matchDepNames": ["home-assistant/cli"], "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 } ]