Prettified Code!

This commit is contained in:
renovate[bot] 2025-02-16 11:58:55 +00:00 committed by GitHub Action
parent c1dc0841bd
commit 955b36023c

47
.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][a-z0-9-_]+)=(?<currentValue>[a-z0-9-_.]+)\\s+" "\\s\\s(?<package>[a-z0-9][a-z0-9-_]+)=(?<currentValue>[a-z0-9-_.]+)\\s+"
@ -37,9 +29,7 @@
}, },
{ {
"customType": "regex", "customType": "regex",
"fileMatch": [ "fileMatch": ["/Dockerfile$"],
"/Dockerfile$"
],
"matchStrings": [ "matchStrings": [
"ARG MOTION_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+" "ARG MOTION_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+"
], ],
@ -49,9 +39,7 @@
}, },
{ {
"customType": "regex", "customType": "regex",
"fileMatch": [ "fileMatch": ["/Dockerfile$"],
"/Dockerfile$"
],
"matchStrings": [ "matchStrings": [
"ARG MOTIONEYE_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+" "ARG MOTIONEYE_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+"
], ],
@ -62,35 +50,22 @@
], ],
"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
}, },
{ {
"matchDepNames": [ "matchDepNames": ["Motion-Project/motion"],
"Motion-Project/motion" "matchUpdateTypes": ["patch"],
],
"matchUpdateTypes": [
"patch"
],
"automerge": true "automerge": true
} }
] ]