From 4a3197fbc5d44a95b32f2070aaa4318e594b8b90 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Wed, 5 Jun 2024 08:55:10 +0200 Subject: [PATCH] chore(renovate): optimize config --- renovate.json | 53 ++++++++++++++++++++++++++++++++++----------------- 1 file changed, 35 insertions(+), 18 deletions(-) diff --git a/renovate.json b/renovate.json index bff52598e6..ea61e4411b 100644 --- a/renovate.json +++ b/renovate.json @@ -28,7 +28,8 @@ "python", "golang", "docker.io/golang", - "docker.io/library/golang" + "docker.io/library/golang", + "mcr.microsoft.com/devcontainers/go" ], "matchUpdateTypes": ["minor"], "dependencyDashboardApproval": true @@ -74,7 +75,16 @@ }, { "description": "Split minor and patch updates", - "matchDepNames": ["vue", "github.com/urfave/cli/v2", "swagger-ui-dist"], + "matchDepNames": [ + "docker.io/golang", + "docker.io/library/golang", + "github.com/urfave/cli/v2", + "go", + "golang", + "python", + "swagger-ui-dist", + "vue" + ], "separateMinorPatch": true }, { @@ -89,6 +99,13 @@ "matchDepNames": ["ghcr.io/visualon/renovate"], "prPriority": 10 }, + { + "description": "Update go patch with higher prio to come through rate limit", + "matchDepNames": ["go", "golang", "docker.io/golang", "docker.io/library/golang"], + "matchUpdateTypes": ["patch"], + "prPriority": 10, + "schedule": ["at any time"] + }, { "description": "Disable actions/cascading-pr for now ", "matchDepNames": ["actions/cascading-pr"], @@ -99,23 +116,23 @@ "description": "Automerge some packages when CI succeeds", "extends": ["packages:linters", "packages:test"], "matchDepNames": [ - "github.com/golangci/golangci-lint/cmd/golangci-lint", - "github.com/go-testfixtures/testfixtures", - "github.com/PuerkitoBio/goquery", - "happy-dom", - "markdownlint-cli", - "updates", - "vite-string-plugin", - "@vue/test-utils" + "github.com/golangci/golangci-lint/cmd/golangci-lint", + "github.com/go-testfixtures/testfixtures", + "github.com/PuerkitoBio/goquery", + "happy-dom", + "markdownlint-cli", + "updates", + "vite-string-plugin", + "@vue/test-utils" ], "matchPackagePrefixes": [ - "@eslint-community/", - "@playwright/", - "@stoplight/spectral-cli", - "@stylistic/", - "ghcr.io/devcontainers/features/", - "ghcr.io/devcontainers-contrib/features/", - "mcr.microsoft.com/devcontainers/" + "@eslint-community/", + "@playwright/", + "@stoplight/spectral-cli", + "@stylistic/", + "ghcr.io/devcontainers/features/", + "ghcr.io/devcontainers-contrib/features/", + "mcr.microsoft.com/devcontainers/" ], "automerge": true }, @@ -126,7 +143,7 @@ }, { "description": "disallow `eslint-plugin-no-use-extend-native` v0.6.0+, requires eslint v9", - "matchDepNames":["eslint-plugin-no-use-extend-native"], + "matchDepNames": ["eslint-plugin-no-use-extend-native"], "allowedVersions": "<0.6.0" } ],