From 46da9dc36905ef43900c80ba15fce26e6b30827d Mon Sep 17 00:00:00 2001 From: Guy Khmelnitsky <3136012+GuyKh@users.noreply.github.com> Date: Tue, 24 Sep 2024 10:19:57 +0300 Subject: [PATCH] Update renovate.json --- renovate.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/renovate.json b/renovate.json index 5db72dd..1ce7e8c 100644 --- a/renovate.json +++ b/renovate.json @@ -2,5 +2,28 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:recommended" + ], + "automerge": true, + "packageRules": [ + { + "matchDatasources": ["pypi"], + "matchPackageNames": ["homeassistant"], + "enabled": false + }, + { + "matchDatasources": ["pypi"], + "matchPaths": ["requirements.txt"], + "automerge": true + } + ], + "customManagers": [ + { + "customType": "regex", + "fileMatch": ["^custom_components/.+/manifest\\.json$"], + "matchStrings": ["\"requirements\":\\s*\\[(\\s*\"(?[^\"]+)==(?(==|>=|<=)[0-9\\.]+)\"[,\\s]?)*\\]"], + "versioningTemplate": "python", + "depNameTemplate": "{{depName}}", + "datasourceTemplate": "pypi" + } ] }