2024-07-27 14:18:12 -05:00
|
|
|
{
|
2024-11-17 11:31:56 -06:00
|
|
|
$schema: "https://docs.renovatebot.com/renovate-schema.json",
|
|
|
|
extends: ["config:recommended", "docker:pinDigests"],
|
|
|
|
nix: {
|
|
|
|
enabled: true,
|
2024-07-27 14:18:12 -05:00
|
|
|
},
|
2024-11-17 11:31:56 -06:00
|
|
|
ignorePaths: ["**/*.sops.*", "**/.archive/**", "**/resources/**"],
|
|
|
|
customManagers: [
|
2024-07-27 14:18:12 -05:00
|
|
|
{
|
2024-11-17 11:31:56 -06:00
|
|
|
customType: "regex",
|
|
|
|
description: "Process various dependencies in nix files",
|
|
|
|
fileMatch: ["\\.nix$"],
|
|
|
|
matchStrings: [
|
|
|
|
'(?m:^[ \\t]*?# ?renovate: depName=(?<depName>\\S+)( datasource=(?<datasource>\\S+))?( versioning=(?<versioning>\\S+))?( extractVersion=(?<extractVersion>\\S+))?\\n[ \\t ]*?\\S+ = "?(?<currentValue>[^" ]+?)";?$)',
|
2024-07-27 14:18:12 -05:00
|
|
|
],
|
2024-11-17 11:31:56 -06:00
|
|
|
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
|
|
|
}
|