Skip to content

Commit

Permalink
Customize renovate config
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilherme Bufolo committed Dec 16, 2024
1 parent be479c0 commit 74b1a9f
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 6 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
},
]
}
6 changes: 0 additions & 6 deletions renovate.json

This file was deleted.

0 comments on commit 74b1a9f

Please sign in to comment.