mirror of
https://github.com/hassio-addons/addon-airsonos.git
synced 2025-05-04 11:01:31 +00:00
Add Renovate for dependency management (#130)
This commit is contained in:
parent
4d244839ee
commit
0ecec3ac3b
2 changed files with 31 additions and 8 deletions
8
.github/dependabot.yaml
vendored
8
.github/dependabot.yaml
vendored
|
@ -1,8 +0,0 @@
|
||||||
---
|
|
||||||
version: 2
|
|
||||||
updates:
|
|
||||||
- package-ecosystem: "github-actions"
|
|
||||||
directory: "/"
|
|
||||||
schedule:
|
|
||||||
interval: daily
|
|
||||||
time: "06:00"
|
|
31
.github/renovate.json
vendored
Normal file
31
.github/renovate.json
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"rebaseWhen": "behind-base-branch",
|
||||||
|
"dependencyDashboard": true,
|
||||||
|
"labels": ["dependencies", "no-stale"],
|
||||||
|
"commitMessagePrefix": "⬆️",
|
||||||
|
"commitMessageTopic": "{{depName}}",
|
||||||
|
"regexManagers": [
|
||||||
|
{
|
||||||
|
"fileMatch": ["/Dockerfile$", "/build.yaml$"],
|
||||||
|
"matchStringsStrategy": "any",
|
||||||
|
"matchStrings": [
|
||||||
|
"ARG BUILD_FROM=(?<depName>.*?):(?<currentValue>.*?)\\s+",
|
||||||
|
"(aarch64|amd64|armhf|armv7|i386):\\s[\"']?(?<depName>.*?):(?<currentValue>.*?)[\"']?\\s"
|
||||||
|
],
|
||||||
|
"datasourceTemplate": "docker"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"packageRules": [
|
||||||
|
{
|
||||||
|
"groupName": "Add-on base image",
|
||||||
|
"matchDatasources": ["docker"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"groupName": "Add-on base image",
|
||||||
|
"matchDatasources": ["docker"],
|
||||||
|
"matchUpdateTypes": ["patch"],
|
||||||
|
"automerge": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue