Skip to content

Commit

Permalink
⬆️: migrate config .github/renovate.json
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Nov 10, 2024
1 parent 8dd7b22 commit 19b8ae9
Showing 1 changed file with 48 additions and 15 deletions.
63 changes: 48 additions & 15 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -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+",
Expand All @@ -17,7 +24,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+"
Expand All @@ -27,7 +37,10 @@
"depNameTemplate": "alpine_3_20/{{package}}"
},
{
"fileMatch": ["/Dockerfile$"],
"customType": "regex",
"fileMatch": [
"/Dockerfile$"
],
"matchStrings": [
"ARG TASMOADMIN_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+"
],
Expand All @@ -37,29 +50,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": ["TasmoAdmin/TasmoAdmin"],
"matchUpdateTypes": ["minor", "patch"],
"matchDatasources": [
"github-releases"
],
"matchDepNames": [
"TasmoAdmin/TasmoAdmin"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"automerge": true
}
]
Expand Down

0 comments on commit 19b8ae9

Please sign in to comment.