39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": [
|
|
"config:recommended",
|
|
":dependencyDashboard"
|
|
],
|
|
"automerge": true,
|
|
"major": {
|
|
"dependencyDashboardApproval": true
|
|
},
|
|
"customDatasources": {
|
|
"github-releases-latest": {
|
|
"defaultRegistryUrlTemplate": "https://api.github.com/repos/{{packageName}}/releases/latest",
|
|
"transformTemplates": [
|
|
"{\"releases\":[{\"version\": $string(tag_name)}]}"
|
|
]
|
|
}
|
|
},
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"fileMatch": [
|
|
"template$"
|
|
],
|
|
"matchStringsStrategy": "combination",
|
|
"matchStrings": [
|
|
"version=(?<currentValue>.*)",
|
|
"distfiles=\"https://github\\.com/(?<depName>.*)/releases/download/v?\\${version}/.*\""
|
|
],
|
|
"extractVersionTemplate": "^v?(?<version>.*)$",
|
|
"datasourceTemplate": "custom.github-releases-latest"
|
|
}
|
|
],
|
|
"enabledManagers": [
|
|
"custom.regex",
|
|
"github-actions"
|
|
]
|
|
}
|