Renovate Bot
81e8c7d28f
Some checks failed
Build / nix-build (native-aarch64, varda) (pull_request) Has been cancelled
Build / nix-build (native-x86_64, shadowfax) (pull_request) Has been cancelled
Build / nix-build (native-x86_64, telperion) (pull_request) Has been cancelled
Build / nix-build (native-x86_64, gandalf) (pull_request) Has been cancelled
21 lines
924 B
Text
21 lines
924 B
Text
{
|
|
$schema: "https://docs.renovatebot.com/renovate-schema.json",
|
|
extends: ["config:recommended", "docker:pinDigests"],
|
|
nix: {
|
|
enabled: true,
|
|
},
|
|
ignorePaths: ["**/*.sops.*", "**/.archive/**", "**/resources/**"],
|
|
customManagers: [
|
|
{
|
|
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>[^" ]+?)";?$)',
|
|
],
|
|
datasourceTemplate: "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}",
|
|
versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
|
|
extractVersionTemplate: "{{#if extractVersion}}{{{extractVersion}}}{{else}}^(?<version>.*)${{/if}}",
|
|
},
|
|
],
|
|
}
|