Prettified Code!

This commit is contained in:
renovate[bot] 2024-11-08 21:53:12 +00:00 committed by GitHub Action
parent 7b663092b4
commit ddd3ec64f5

64
.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+"
@ -38,64 +30,38 @@
], ],
"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
}, },
{ {
"matchManagers": [ "matchManagers": ["pip_requirements"],
"pip_requirements" "addLabels": ["python"]
],
"addLabels": [
"python"
]
}, },
{ {
"matchManagers": [ "matchManagers": ["pip_requirements"],
"pip_requirements" "matchDepTypes": ["dev"],
],
"matchDepTypes": [
"dev"
],
"rangeStrategy": "pin" "rangeStrategy": "pin"
}, },
{ {
"matchManagers": [ "matchManagers": ["pip_requirements"],
"pip_requirements" "matchUpdateTypes": ["minor", "patch"],
],
"matchUpdateTypes": [
"minor",
"patch"
],
"automerge": true "automerge": true
}, },
{ {
"groupName": "Python", "groupName": "Python",
"matchDatasources": [ "matchDatasources": ["repology"],
"repology"
],
"automerge": true, "automerge": true,
"matchPackageNames": [ "matchPackageNames": ["/^alpine_.*/python3(-dev)?$/"]
"/^alpine_.*/python3(-dev)?$/"
]
} }
] ]
} }