Skip to content

Commit

Permalink
Merge pull request #1 from RedX2501/renovate/configure
Browse files Browse the repository at this point in the history
Configure Renovate
  • Loading branch information
RedX2501 authored Dec 16, 2024
2 parents 4b72cd4 + 74b1a9f commit 7c04082
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"rebaseWhen": "behind-base-branch",
"dependencyDashboard": true,
"labels": ["dependencies", "no-stale"],
"commitMessagePrefix": "⬆️",
"commitMessageTopic": "{{depName}}",
"enabledManagers": ["custom.regex"],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["/Dockerfile$", "/build.yaml$"],
"matchStringsStrategy": "any",
"matchStrings": [
"(aarch64|amd64|armhf|armv7|i386):\\s[\"']?(?<depName>.*?):(?<currentValue>.*?)[\"']?\\s"
],
"datasourceTemplate": "docker"
},
{
"customType": "regex",
"fileMatch": ["/build.yaml$"],
"matchStringsStrategy": "any",
"matchStrings": [
"\\s\\sTRAEFIK_VERSION:\\s(?<currentValue>.*?)\\n",
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "traefik/traefik",
"extractVersionTemplate": "v(?<version>.*)$"
},
],
"packageRules": [
{
"groupName": "Add-on base image",
"matchDatasources": ["docker", "github-releases"]
},
{
"groupName": "Add-on base image",
"matchDatasources": ["docker"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
},
]
}

0 comments on commit 7c04082

Please sign in to comment.