mirror of
https://github.com/hassio-addons/addon-glances.git
synced 2025-05-04 11:01:25 +00:00
⬆️: migrate config .github/renovate.json
This commit is contained in:
parent
456d02d957
commit
7b663092b4
1 changed files with 53 additions and 17 deletions
70
.github/renovate.json
vendored
70
.github/renovate.json
vendored
|
@ -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+"
|
||||
|
@ -28,38 +38,64 @@
|
|||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"matchDatasources": ["repology"],
|
||||
"matchDatasources": [
|
||||
"repology"
|
||||
],
|
||||
"automerge": true
|
||||
},
|
||||
{
|
||||
"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
|
||||
},
|
||||
{
|
||||
"matchManagers": ["pip_requirements"],
|
||||
"addLabels": ["python"]
|
||||
"matchManagers": [
|
||||
"pip_requirements"
|
||||
],
|
||||
"addLabels": [
|
||||
"python"
|
||||
]
|
||||
},
|
||||
{
|
||||
"matchManagers": ["pip_requirements"],
|
||||
"matchDepTypes": ["dev"],
|
||||
"matchManagers": [
|
||||
"pip_requirements"
|
||||
],
|
||||
"matchDepTypes": [
|
||||
"dev"
|
||||
],
|
||||
"rangeStrategy": "pin"
|
||||
},
|
||||
{
|
||||
"matchManagers": ["pip_requirements"],
|
||||
"matchUpdateTypes": ["minor", "patch"],
|
||||
"matchManagers": [
|
||||
"pip_requirements"
|
||||
],
|
||||
"matchUpdateTypes": [
|
||||
"minor",
|
||||
"patch"
|
||||
],
|
||||
"automerge": true
|
||||
},
|
||||
{
|
||||
"groupName": "Python",
|
||||
"matchDatasources": ["repology"],
|
||||
"matchPackagePatterns": ["^alpine_.*/python3(-dev)?$"],
|
||||
"automerge": true
|
||||
"matchDatasources": [
|
||||
"repology"
|
||||
],
|
||||
"automerge": true,
|
||||
"matchPackageNames": [
|
||||
"/^alpine_.*/python3(-dev)?$/"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue