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 65c039b commit f037f73
Showing 1 changed file with 113 additions and 33 deletions.
146 changes: 113 additions & 33 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 @@ -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+"
Expand All @@ -26,15 +36,21 @@
"depNameTemplate": "debian_12/{{{replace 'openssh-client' 'openssh' package}}}"
},
{
"fileMatch": ["/Dockerfile$"],
"customType": "regex",
"fileMatch": [
"/Dockerfile$"
],
"matchStrings": [
"ARG CODE_SERVER_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "cdr/code-server"
},
{
"fileMatch": ["/Dockerfile$"],
"customType": "regex",
"fileMatch": [
"/Dockerfile$"
],
"matchStrings": [
"ARG HA_CLI_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+"
],
Expand All @@ -43,28 +59,46 @@
"versioningTemplate": "loose"
},
{
"fileMatch": ["vscode/vscode.extensions$"],
"matchStrings": ["emilast\\.LogFileHighlighter#(?<currentValue>.+)\\s"],
"customType": "regex",
"fileMatch": [
"vscode/vscode.extensions$"
],
"matchStrings": [
"emilast\\.LogFileHighlighter#(?<currentValue>.+)\\s"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "emilast/vscode-logfile-highlighter"
},
{
"fileMatch": ["vscode/vscode.extensions$"],
"matchStrings": ["esbenp\\.prettier-vscode#(?<currentValue>.+)\\s"],
"customType": "regex",
"fileMatch": [
"vscode/vscode.extensions$"
],
"matchStrings": [
"esbenp\\.prettier-vscode#(?<currentValue>.+)\\s"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "prettier/prettier-vscode",
"extractVersionTemplate": "^v(?<version>.*)$"
},
{
"fileMatch": ["vscode/vscode.extensions$"],
"matchStrings": ["ESPHome\\.esphome-vscode#(?<currentValue>.+)\\s"],
"customType": "regex",
"fileMatch": [
"vscode/vscode.extensions$"
],
"matchStrings": [
"ESPHome\\.esphome-vscode#(?<currentValue>.+)\\s"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "esphome/esphome-vscode",
"versioningTemplate": "loose",
"extractVersionTemplate": "^v(?<version>.*)$"
},
{
"fileMatch": ["vscode/vscode.extensions$"],
"customType": "regex",
"fileMatch": [
"vscode/vscode.extensions$"
],
"matchStrings": [
"keesschollaart\\.vscode-home-assistant#(?<currentValue>.+)\\s"
],
Expand All @@ -73,7 +107,10 @@
"extractVersionTemplate": "^v(?<version>.*)$"
},
{
"fileMatch": ["vscode/vscode.extensions$"],
"customType": "regex",
"fileMatch": [
"vscode/vscode.extensions$"
],
"matchStrings": [
"lukas-tr\\.materialdesignicons-intellisense#(?<currentValue>.+)\\s"
],
Expand All @@ -82,57 +119,100 @@
"extractVersionTemplate": "^v(?<version>.*)$"
},
{
"fileMatch": ["vscode/vscode.extensions$"],
"matchStrings": ["netcorext\\.uuid-generator#(?<currentValue>.+)\\s"],
"customType": "regex",
"fileMatch": [
"vscode/vscode.extensions$"
],
"matchStrings": [
"netcorext\\.uuid-generator#(?<currentValue>.+)\\s"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "arenchen/vscode-uuid-generator"
},
{
"fileMatch": ["vscode/vscode.extensions$"],
"matchStrings": ["usernamehw\\.errorlens#(?<currentValue>.+)\\s"],
"customType": "regex",
"fileMatch": [
"vscode/vscode.extensions$"
],
"matchStrings": [
"usernamehw\\.errorlens#(?<currentValue>.+)\\s"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "usernamehw/vscode-error-lens",
"extractVersionTemplate": "^v(?<version>.*)$"
}
],
"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
},
{
"matchDatasources": ["github-releases"],
"matchDepNames": ["coder/code-server"],
"matchUpdateTypes": ["minor", "patch"],
"matchDatasources": [
"github-releases"
],
"matchDepNames": [
"coder/code-server"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"automerge": true
},
{
"matchDatasources": ["github-releases"],
"matchDepNames": ["home-assistant/cli"],
"matchDatasources": [
"github-releases"
],
"matchDepNames": [
"home-assistant/cli"
],
"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
}
]
Expand Down

0 comments on commit f037f73

Please sign in to comment.