From 7883c544857db2e70c96b7d359bc0f845515318e Mon Sep 17 00:00:00 2001 From: Alex Smith Date: Tue, 3 Jun 2025 11:37:43 +1200 Subject: [PATCH] Configure Renovate --- renovate.json | 49 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 7190a60..576137c 100644 --- a/renovate.json +++ b/renovate.json @@ -1,3 +1,50 @@ { - "$schema": "https://docs.renovatebot.com/renovate-schema.json" + "extends": [ + "config:recommended" + ], + "labels": [ + "ready for review" + ], + "customManagers": [ + { + "customType": "regex", + "fileMatch": [ + "(^|/|\\.)([Dd]ocker|[Cc]ontainer)file$", + "(^|/)([Dd]ocker|[Cc]ontainer)file[^/]*$" + ], + "matchStrings": [ + "# renovate: datasource=(?[a-zA-Z0-9-._]+?) depName=(?[^\\s]+?)(?: (lookupName|packageName)=(?[^\\s]+?))?(?: versioning=(?[^\\s]+?))?(?: extractVersion=(?[^\\s]+?))?(?: registryUrl=(?[^\\s]+?))?\\s(?:ENV|ARG)\\s+[A-Za-z0-9_]+?_VERSION[ =][\"']?(?.+?)[\"']?\\s" + ] + } + ], + "ignoreUnstable": true, + "minimumReleaseAge": "3", + "packageRules": [ + { + "groupName": "all non-major dependencies", + "groupSlug": "all-minor-patch", + "matchPackageNames": [ + "*" + ], + "matchUpdateTypes": [ + "minor", + "patch" + ] + }, + { + "matchCategories": [ + "docker", + "github-actions" + ], + "pinDigests": true + }, + { + "matchUpdateTypes": [ + "major" + ], + "labels": [ + "UPDATE-MAJOR" + ] + } + ] }