From 266ddfdf15687ff0697db8a3071a094332ed23b0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 24 Jun 2024 16:38:17 +0200 Subject: [PATCH] chore: Configure Renovate (#5) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Tommaso Bailetti --- renovate.json | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..986a343 --- /dev/null +++ b/renovate.json @@ -0,0 +1,48 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended" + ], + "branchPrefix": "renovate-", + "branchNameStrict": true, + "ignorePaths": [ + "**/ui/**" + ], + "packageRules": [ + { + "matchPackageNames": [ + "docker.io/node" + ], + "allowedVersions": "<= 18" + }, + { + "matchDepNames": [ + "dnsmasq" + ], + "matchDatasources": [ + "cutom.dnsmasq" + ], + "extractVersion": "dnsmasq-(?\\d+)\\.(?\\d+)$" + } + ], + "customManagers": [ + { + "customType": "regex", + "fileMatch": [ + "build-images.sh" + ], + "matchStrings": [ + "^DNSMASQ_VERSION=(?[^\\s]*)$" + ], + "versioningTemplate": "regex:(?\\d+)\\.(?\\d+)", + "depNameTemplate": "dnsmasq", + "datasourceTemplate": "custom.dnsmasq" + } + ], + "customDatasources": { + "dnsmasq": { + "defaultRegistryUrlTemplate": "https://dnsmasq.org/", + "format": "html" + } + } +}