diff options
author | Michael Kriese <michael.kriese@visualon.de> | 2024-03-26 09:24:24 +0100 |
---|---|---|
committer | Michael Kriese <michael.kriese@visualon.de> | 2024-03-26 09:24:24 +0100 |
commit | c60600a6896022a225d3ebeb7a3ddac13ad1be58 (patch) | |
tree | 286fa1fa60121578a0511db6a64d935be80931cd /renovate.json | |
parent | Merge pull request 'modules/git: Recognize SSH signed tags too' (#2520) from ... (diff) | |
download | forgejo-c60600a6896022a225d3ebeb7a3ddac13ad1be58.tar.xz forgejo-c60600a6896022a225d3ebeb7a3ddac13ad1be58.zip |
Add more renovate groups
Diffstat (limited to 'renovate.json')
-rw-r--r-- | renovate.json | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/renovate.json b/renovate.json index 656f0dc0b3..028bb7a31a 100644 --- a/renovate.json +++ b/renovate.json @@ -17,11 +17,21 @@ "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"], "matchPackageNames": ["ghcr.io/visualon/renovate"], @@ -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: ['\"]?(?<currentValue>.+?)['\"]?\\s"], + "depNameTemplate": "node", + "datasourceTemplate": "node-version" } ] } |