mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 18:51:23 +00:00
⬆️: migrate config .github/renovate.json
This commit is contained in:
parent
65c039b1a2
commit
f037f73596
1 changed files with 113 additions and 33 deletions
146
.github/renovate.json
vendored
146
.github/renovate.json
vendored
|
@ -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+",
|
||||
|
@ -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+"
|
||||
|
@ -26,7 +36,10 @@
|
|||
"depNameTemplate": "debian_12/{{{replace 'openssh-client' 'openssh' package}}}"
|
||||
},
|
||||
{
|
||||
"fileMatch": ["/Dockerfile$"],
|
||||
"customType": "regex",
|
||||
"fileMatch": [
|
||||
"/Dockerfile$"
|
||||
],
|
||||
"matchStrings": [
|
||||
"ARG CODE_SERVER_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+"
|
||||
],
|
||||
|
@ -34,7 +47,10 @@
|
|||
"depNameTemplate": "cdr/code-server"
|
||||
},
|
||||
{
|
||||
"fileMatch": ["/Dockerfile$"],
|
||||
"customType": "regex",
|
||||
"fileMatch": [
|
||||
"/Dockerfile$"
|
||||
],
|
||||
"matchStrings": [
|
||||
"ARG HA_CLI_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+"
|
||||
],
|
||||
|
@ -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"
|
||||
],
|
||||
|
@ -73,7 +107,10 @@
|
|||
"extractVersionTemplate": "^v(?<version>.*)$"
|
||||
},
|
||||
{
|
||||
"fileMatch": ["vscode/vscode.extensions$"],
|
||||
"customType": "regex",
|
||||
"fileMatch": [
|
||||
"vscode/vscode.extensions$"
|
||||
],
|
||||
"matchStrings": [
|
||||
"lukas-tr\\.materialdesignicons-intellisense#(?<currentValue>.+)\\s"
|
||||
],
|
||||
|
@ -82,14 +119,24 @@
|
|||
"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>.*)$"
|
||||
|
@ -97,42 +144,75 @@
|
|||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue