28 lines
1.1 KiB
Text
28 lines
1.1 KiB
Text
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": ["config:base", "docker:pinDigests"],
|
|
"nix": {
|
|
"enabled": true
|
|
},
|
|
"ignorePaths": ["**/*.sops.*", "**/.archive/**", "**/resources/**"],
|
|
// "lockFileMaintenance": {
|
|
// "enabled": true,
|
|
// "extends": [
|
|
// "schedule:daily"
|
|
// ]
|
|
// },
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"description": "Process various dependencies in nix files",
|
|
"fileMatch": ["\\.nix$"],
|
|
"matchStrings": [
|
|
// Newline
|
|
"(?m:^[ \\t]*?# ?renovate: depName=(?<depName>\\S+)( datasource=(?<datasource>\\S+))?( versioning=(?<versioning>\\S+))?( extractVersion=(?<extractVersion>\\S+))?\\n[ \\t ]*?\\S+ = \"?(?<currentValue>[^\" ]+?)\";?$)"
|
|
],
|
|
"datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}",
|
|
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
|
|
"extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^(?<version>.*)${{/if}}"
|
|
}
|
|
]
|
|
}
|