From 9fccffd394fb86026361a4f4790c159b584f382d Mon Sep 17 00:00:00 2001
From: Dmitriy Pleshevskiy <dmitriy@pleshevski.ru>
Date: Mon, 10 Feb 2025 20:59:52 +0300
Subject: [PATCH] host/istal: change renovate configs

---
 hosts/istal/services/renovate.nix | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/hosts/istal/services/renovate.nix b/hosts/istal/services/renovate.nix
index 496c7b8..385205e 100644
--- a/hosts/istal/services/renovate.nix
+++ b/hosts/istal/services/renovate.nix
@@ -52,19 +52,17 @@ in
       endpoint = "https://git.pleshevski.ru";
       assignees = [ "pleshevskiy" ];
       autodiscover = true;
-      packageRules = [
-        {
-          matchUpdateTypes = [ "minor" "patch" "pin" "digest" ];
-          automerge = true;
-        }
-      ];
       automergeStrategy = "fast-forward";
       onboardingConfig = {
         "$schema" = "https://docs.renovatebot.com/renovate-schema.json";
-        extends = [ "config:recommended" ];
-        configMigration = true;
       };
-      globalExtends = [ "npm:unpublishSafe" ];
+      globalExtends = [
+        "npm:unpublishSafe"
+        "config:best-practices"
+        ":configMigration"
+        ":automergeMinor"
+        ":automergeRequireAllStatusChecks"
+      ];
 
       cacheHardTtlMinutes = 30;
       httpCacheTtlDays = 1;