This commit is contained in:
Joseph Hanson 2024-11-17 11:41:00 -06:00
parent 2bd9739103
commit 7041197207
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -1,21 +1,21 @@
{ {
$schema: "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
extends: ["config:recommended", "docker:pinDigests"], "extends": ["config:recommended", "docker:pinDigests"],
nix: { "nix": {
enabled: true, "enabled": true
}, },
ignorePaths: ["**/*.sops.*", "**/.archive/**", "**/resources/**"], "ignorePaths": ["**/*.sops.*", "**/.archive/**", "**/resources/**"],
customManagers: [ "customManagers": [
{ {
customType: "regex", "customType": "regex",
description: "Process various dependencies in nix files", "description": "Process various dependencies in nix files",
fileMatch: ["\\.nix$"], "fileMatch": ["\\.nix$"],
matchStrings: [ "matchStrings": [
'(?m:^[ \\t]*?# ?renovate: depName=(?<depName>\\S+)( datasource=(?<datasource>\\S+))?( versioning=(?<versioning>\\S+))?( extractVersion=(?<extractVersion>\\S+))?\\n[ \\t ]*?\\S+ = "?(?<currentValue>[^" ]+?)";?$)', "(?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}}", "datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}",
versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}", "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
extractVersionTemplate: "{{#if extractVersion}}{{{extractVersion}}}{{else}}^(?<version>.*)${{/if}}", "extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^(?<version>.*)${{/if}}"
}, }
], ]
} }