From c60600a6896022a225d3ebeb7a3ddac13ad1be58 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Tue, 26 Mar 2024 09:24:24 +0100 Subject: [PATCH 1/3] Add more renovate groups --- renovate.json | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 656f0dc0b3..028bb7a31a 100644 --- a/renovate.json +++ b/renovate.json @@ -17,10 +17,20 @@ "packageRules": [ { "description": "Require approval for go and python minor version", - "matchDepNames": ["go", "python", "docker.io/library/golang"], + "matchDepNames": ["go", "python", "golang", "docker.io/golang", "docker.io/library/golang"], "matchUpdateTypes": ["minor"], "dependencyDashboardApproval": true }, + { + "description": "Group golang packages", + "matchDepNames": ["go", "golang", "docker.io/golang", "docker.io/library/golang"], + "groupName": "golang packages" + }, + { + "description": "Group nodejs packages", + "matchDepNames": ["node", "docker.io/node", "docker.io/library/node"], + "groupName": "nodejs packages" + }, { "description": "Automerge renovate updates", "matchDatasources": ["docker"], @@ -50,6 +60,14 @@ "depNameTemplate": "go", "datasourceTemplate": "golang-version", "versioningTemplate": "go-mod-directive" + }, + { + "description": "Update node-version in forgejo workflows", + "customType": "regex", + "fileMatch": ["^.forgejo/workflows/.+\\.yml$"], + "matchStrings": ["\\s+node-version: ['\"]?(?.+?)['\"]?\\s"], + "depNameTemplate": "node", + "datasourceTemplate": "node-version" } ] } From bfde9c6866849e4ceeafb63900ef7ff2b836f0b2 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Tue, 26 Mar 2024 09:37:19 +0100 Subject: [PATCH 2/3] Add prio for renovate self updates --- renovate.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/renovate.json b/renovate.json index 028bb7a31a..03b164a5da 100644 --- a/renovate.json +++ b/renovate.json @@ -39,10 +39,11 @@ "automerge": true }, { - "description": "Update renovate only daily", + "description": "Update renovate only daily with higher prio to come through rate limit", "matchDatasources": ["docker"], "matchDepNames": ["ghcr.io/visualon/renovate"], - "extends": ["schedule:daily"] + "extends": ["schedule:daily"], + "prPriority": 10 }, { "description": "Disable actions/cascading-pr for now ", From 91d34924faa99062453b327cf745a2c6f9e9e6e8 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Tue, 26 Mar 2024 09:40:48 +0100 Subject: [PATCH 3/3] Reduce concurrent Renovate PR's --- renovate.json | 1 + 1 file changed, 1 insertion(+) diff --git a/renovate.json b/renovate.json index 03b164a5da..747501a66a 100644 --- a/renovate.json +++ b/renovate.json @@ -14,6 +14,7 @@ "semanticCommits": "disabled", "postUpdateOptions": ["gomodTidy", "gomodUpdateImportPaths", "npmDedupe"], "platformAutomerge": false, + "prConcurrentLimit": 5, "packageRules": [ { "description": "Require approval for go and python minor version",