Prettified Code!

This commit is contained in:
renovate[bot] 2024-12-07 12:30:57 +00:00 committed by GitHub Action
parent 9bfe5410be
commit c99b2c6049

48
.github/renovate.json vendored
View file

@ -2,19 +2,13 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"rebaseWhen": "behind-base-branch", "rebaseWhen": "behind-base-branch",
"dependencyDashboard": true, "dependencyDashboard": true,
"labels": [ "labels": ["dependencies", "no-stale"],
"dependencies",
"no-stale"
],
"commitMessagePrefix": "⬆️", "commitMessagePrefix": "⬆️",
"commitMessageTopic": "{{depName}}", "commitMessageTopic": "{{depName}}",
"customManagers": [ "customManagers": [
{ {
"customType": "regex", "customType": "regex",
"fileMatch": [ "fileMatch": ["/Dockerfile$", "/build.yaml$"],
"/Dockerfile$",
"/build.yaml$"
],
"matchStringsStrategy": "any", "matchStringsStrategy": "any",
"matchStrings": [ "matchStrings": [
"ARG BUILD_FROM=(?<depName>.*?):(?<currentValue>.*?)\\s+", "ARG BUILD_FROM=(?<depName>.*?):(?<currentValue>.*?)\\s+",
@ -24,9 +18,7 @@
}, },
{ {
"customType": "regex", "customType": "regex",
"fileMatch": [ "fileMatch": ["/Dockerfile$"],
"/Dockerfile$"
],
"matchStringsStrategy": "any", "matchStringsStrategy": "any",
"matchStrings": [ "matchStrings": [
"\\s\\s(?<package>[a-z0-9-]+)=(?<currentValue>[a-z0-9-_.]+)\\s+" "\\s\\s(?<package>[a-z0-9-]+)=(?<currentValue>[a-z0-9-_.]+)\\s+"
@ -37,9 +29,7 @@
}, },
{ {
"customType": "regex", "customType": "regex",
"fileMatch": [ "fileMatch": ["/Dockerfile$"],
"/Dockerfile$"
],
"matchStrings": [ "matchStrings": [
"ARG ZERO_TIER_ONE_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+" "ARG ZERO_TIER_ONE_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+"
], ],
@ -49,39 +39,23 @@
], ],
"packageRules": [ "packageRules": [
{ {
"matchDatasources": [ "matchDatasources": ["repology"],
"repology"
],
"automerge": true "automerge": true
}, },
{ {
"groupName": "Add-on base image", "groupName": "Add-on base image",
"matchDatasources": [ "matchDatasources": ["docker"]
"docker"
]
}, },
{ {
"groupName": "Add-on base image", "groupName": "Add-on base image",
"matchDatasources": [ "matchDatasources": ["docker"],
"docker" "matchUpdateTypes": ["minor", "patch"],
],
"matchUpdateTypes": [
"minor",
"patch"
],
"automerge": true "automerge": true
}, },
{ {
"matchDatasources": [ "matchDatasources": ["github-releases"],
"github-releases" "matchDepNames": ["zerotier/ZeroTierOne"],
], "matchUpdateTypes": ["minor", "patch"],
"matchDepNames": [
"zerotier/ZeroTierOne"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"automerge": true "automerge": true
} }
] ]