From c60600a6896022a225d3ebeb7a3ddac13ad1be58 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Tue, 26 Mar 2024 09:24:24 +0100 Subject: [PATCH] Add more renovate groups --- renovate.json | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 656f0dc0b..028bb7a31 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" } ] }