diff --git a/renovate-config.json b/renovate-config.json index 1713614..be86153 100644 --- a/renovate-config.json +++ b/renovate-config.json @@ -1,6 +1,6 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "description": "Shared Renovate settings for milo-os repositories. Go module updates open one pull request per repository, with Kubernetes modules in a pull request of their own. Security fixes keep Renovate's default of opening immediately and outside the concurrency limit.", + "description": "Shared Renovate settings for milo-os repositories. Go module updates open one pull request per repository, with Kubernetes modules in a pull request of their own, and patch updates of each in a pull request apart from the rest so they can open without approval. Security fixes keep Renovate's default of opening immediately and outside the concurrency limit.", "rebaseWhen": "conflicted", "prConcurrentLimit": 5, "packageRules": [ @@ -11,6 +11,14 @@ "groupName": "Go modules", "groupSlug": "go-modules" }, + { + "description": "Go module patch and digest updates form their own pull request, so they can open without approval", + "matchManagers": ["gomod"], + "matchDatasources": ["go"], + "matchUpdateTypes": ["patch", "digest"], + "groupName": "Go modules (patch)", + "groupSlug": "go-modules-patch" + }, { "description": "k8s.io/kubernetes only builds against staging modules of the same release, so bump it, every pinned staging module and controller-runtime together", "matchManagers": ["gomod"], @@ -24,6 +32,21 @@ ], "groupName": "kubernetes", "groupSlug": "kubernetes" + }, + { + "description": "Kubernetes patch releases move together in their own pull request, so they can open without approval", + "matchManagers": ["gomod"], + "matchPackageNames": [ + "k8s.io/**", + "sigs.k8s.io/controller-runtime", + "sigs.k8s.io/multicluster-runtime", + "!k8s.io/klog/**", + "!k8s.io/utils", + "!k8s.io/kube-openapi" + ], + "matchUpdateTypes": ["patch"], + "groupName": "kubernetes (patch)", + "groupSlug": "kubernetes-patch" } ] }