mochi/renovate.json5

29 lines
1 KiB
Text
Raw Normal View History

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base"],
"nix": {
"enabled": true
},
2024-10-15 06:08:46 -05:00
"ignorePaths": ["**/*.sops.*", "**/.archive/**", "**/resources/**"],
2024-08-05 08:29:43 -05:00
// "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}}"
}
]
2024-08-05 07:20:01 -05:00
}