From 81e8c7d28f927e5e5baa2604054b7b85249ced87 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sun, 17 Nov 2024 17:31:56 +0000 Subject: [PATCH] Migrate config renovate.json5 --- renovate.json5 | 39 ++++++++++++++++----------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/renovate.json5 b/renovate.json5 index ee8c941..e1263c5 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -1,28 +1,21 @@ { - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["config:base", "docker:pinDigests"], - "nix": { - "enabled": true + $schema: "https://docs.renovatebot.com/renovate-schema.json", + extends: ["config:recommended", "docker:pinDigests"], + nix: { + enabled: true, }, - "ignorePaths": ["**/*.sops.*", "**/.archive/**", "**/resources/**"], - // "lockFileMaintenance": { - // "enabled": true, - // "extends": [ - // "schedule:daily" - // ] - // }, - "customManagers": [ + ignorePaths: ["**/*.sops.*", "**/.archive/**", "**/resources/**"], + customManagers: [ { - "customType": "regex", - "description": "Process various dependencies in nix files", - "fileMatch": ["\\.nix$"], - "matchStrings": [ - // Newline - "(?m:^[ \\t]*?# ?renovate: depName=(?\\S+)( datasource=(?\\S+))?( versioning=(?\\S+))?( extractVersion=(?\\S+))?\\n[ \\t ]*?\\S+ = \"?(?[^\" ]+?)\";?$)" + customType: "regex", + description: "Process various dependencies in nix files", + fileMatch: ["\\.nix$"], + matchStrings: [ + '(?m:^[ \\t]*?# ?renovate: depName=(?\\S+)( datasource=(?\\S+))?( versioning=(?\\S+))?( extractVersion=(?\\S+))?\\n[ \\t ]*?\\S+ = "?(?[^" ]+?)";?$)', ], - "datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}", - "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}", - "extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^(?.*)${{/if}}" - } - ] + datasourceTemplate: "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}", + versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}", + extractVersionTemplate: "{{#if extractVersion}}{{{extractVersion}}}{{else}}^(?.*)${{/if}}", + }, + ], }