From f9155327034561f1bb95d381a720563d049a5f22 Mon Sep 17 00:00:00 2001
From: Earl Warren <contact@earl-warren.org>
Date: Tue, 9 Jul 2024 07:17:05 +0200
Subject: [PATCH] chore(renovate): group x/tools/* upgrade

Refs: https://codeberg.org/forgejo/forgejo/pulls?q=x%2Ftools&type=all
---
 renovate.json | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/renovate.json b/renovate.json
index 68d61b5fc3..3b2fab5e70 100644
--- a/renovate.json
+++ b/renovate.json
@@ -99,6 +99,15 @@
       "automerge": true,
       "groupName": "renovate"
     },
+    {
+      "description": "x/tools/* are used in the CI only and upgraded together",
+      "matchPackagePrefixes": [
+        "golang.org/x/tools"
+      ],
+      "matchUpdateTypes": ["minor", "patch", "digest"],
+      "automerge": true,
+      "groupName": "x/tools"
+    },
     {
       "description": "Split minor and patch updates",
       "matchDepNames": [
@@ -152,8 +161,6 @@
         "github.com/golangci/golangci-lint/cmd/golangci-lint",
         "github.com/go-testfixtures/testfixtures",
         "github.com/PuerkitoBio/goquery",
-        "golang.org/x/tools/cmd/deadcode",
-        "golang.org/x/tools/gopls",
         "happy-dom",
         "markdownlint-cli",
         "mvdan.cc/gofumpt",