You've already forked renovate-config
28 lines
1.3 KiB
JSON
28 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"customDatasources": {
|
|
"grafana-dashboards": {
|
|
"defaultRegistryUrlTemplate": "https://grafana.com/api/dashboards/{{ packageName }}",
|
|
"format": "json",
|
|
"transformTemplates": [
|
|
"{\"releases\": [{\"version\": $string(revision)}], \"homepage\": \"https://grafana.com/dashboards/$string(id)\", \"sourceUrl\": \"https://grafana.com/dashboards/$string(id)\"}"
|
|
]
|
|
}
|
|
},
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"fileMatch": [
|
|
"(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\\.ya?ml$",
|
|
"(^|/)(action|values)\\.ya?ml$",
|
|
"(^|/)Makefile$",
|
|
"(^|/)PKGBUILD$",
|
|
"(^|/)[\\w-]*\\.sh$"
|
|
],
|
|
"matchStrings": [
|
|
"\"?(?<currentValue>[\\w.]*)\"? # renovate:(?:[[:blank:]]+datasource=['\"]*(?<datasource>[^\\s\"']*)['\"]*|[[:blank:]]+depName=['\"]*(?<depName>[^\\s'\"]*)['\"]*|[[:blank:]]+packageName=['\"]*(?<packageName>[^\\s'\"]*)['\"]*|[[:blank:]]+registryUrl=['\"]*(?<registryUrl>[^\\s'\"]*)['\"]*|[[:blank:]]+updateType=['\"]*(?<updateType>[^\\s'\"]*)['\"]*|[[:blank:]]+versioning=['\"]*(?<versioning>[^\\s'\"]*)['\"]*|[[:blank:]]+extractVersion=['\"]*(?<extractVersion>[^\\s'\"]*)['\"]*)*"
|
|
]
|
|
}
|
|
]
|
|
}
|