⬆️: migrate config .github/renovate.json

This commit is contained in:
renovate[bot] 2025-02-18 00:06:09 +00:00 committed by GitHub
parent bda9f72bcc
commit 59d6fc1e7d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

63
.github/renovate.json vendored
View file

@ -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=(?<depName>.*?):(?<currentValue>.*?)\\s+",
@ -16,7 +23,10 @@
"datasourceTemplate": "docker"
},
{
"fileMatch": ["/Dockerfile$"],
"customType": "regex",
"fileMatch": [
"/Dockerfile$"
],
"matchStringsStrategy": "any",
"matchStrings": [
"\\s\\s(?<package>[a-z0-9][a-z0-9-_]+)=(?<currentValue>[a-z0-9-_.]+)\\s+"
@ -26,7 +36,10 @@
"depNameTemplate": "alpine_3_19/{{package}}"
},
{
"fileMatch": ["/Dockerfile$"],
"customType": "regex",
"fileMatch": [
"/Dockerfile$"
],
"matchStrings": [
"ARG GROCY_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+"
],
@ -36,29 +49,49 @@
],
"packageRules": [
{
"matchDatasources": ["repology"],
"matchDatasources": [
"repology"
],
"automerge": true
},
{
"groupName": "PHP",
"matchDatasources": ["repology"],
"matchDepPatterns": ["alpine.*/php.*"],
"automerge": true
"matchDatasources": [
"repology"
],
"automerge": true,
"matchDepNames": [
"/alpine.*/php.*/"
]
},
{
"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": ["grocy/grocy"],
"matchUpdateTypes": ["minor", "patch"],
"matchDatasources": [
"github-releases"
],
"matchDepNames": [
"grocy/grocy"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"automerge": true
}
]