⬆️: migrate config .github/renovate.json

This commit is contained in:
renovate[bot] 2024-11-15 21:24:26 +00:00 committed by GitHub
parent ebc2a673d5
commit 84f2e1ec93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

30
.github/renovate.json vendored
View file

@ -2,12 +2,19 @@
"$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": ["dependencies", "no-stale"], "labels": [
"dependencies",
"no-stale"
],
"commitMessagePrefix": "⬆️", "commitMessagePrefix": "⬆️",
"commitMessageTopic": "{{depName}}", "commitMessageTopic": "{{depName}}",
"regexManagers": [ "customManagers": [
{ {
"fileMatch": ["/Dockerfile$", "/build.yaml$"], "customType": "regex",
"fileMatch": [
"/Dockerfile$",
"/build.yaml$"
],
"matchStringsStrategy": "any", "matchStringsStrategy": "any",
"matchStrings": [ "matchStrings": [
"ARG BUILD_FROM=(?<depName>.*?):(?<currentValue>.*?)\\s+", "ARG BUILD_FROM=(?<depName>.*?):(?<currentValue>.*?)\\s+",
@ -16,7 +23,10 @@
"datasourceTemplate": "docker" "datasourceTemplate": "docker"
}, },
{ {
"fileMatch": ["/Dockerfile$"], "customType": "regex",
"fileMatch": [
"/Dockerfile$"
],
"matchStrings": [ "matchStrings": [
"ARG AIRCONNECT_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+" "ARG AIRCONNECT_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+"
], ],
@ -27,12 +37,18 @@
"packageRules": [ "packageRules": [
{ {
"groupName": "Add-on base image", "groupName": "Add-on base image",
"matchDatasources": ["docker"] "matchDatasources": [
"docker"
]
}, },
{ {
"groupName": "Add-on base image", "groupName": "Add-on base image",
"matchDatasources": ["docker"], "matchDatasources": [
"matchUpdateTypes": ["patch"], "docker"
],
"matchUpdateTypes": [
"patch"
],
"automerge": true "automerge": true
} }
] ]