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" + ] + } + ] }