From 56dbc4105b326e45a268a42ab6a4d9f62abab765 Mon Sep 17 00:00:00 2001 From: Valentin Sickert <17144397+Lapotor@users.noreply.github.com> Date: Mon, 4 Dec 2023 22:00:48 +0100 Subject: [PATCH] chore(renovate): disallow major and require approval on minor updates for PHP Signed-off-by: Valentin Sickert <17144397+Lapotor@users.noreply.github.com> --- renovate.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 34edabdc..589e3952 100644 --- a/renovate.json +++ b/renovate.json @@ -17,9 +17,21 @@ "reviewers": ["@lapotor", "@whyauthentic"], "packageRules": [ { - "description": "Disable major and minor updates for PHP", + "description": "Allow ranges for PHP", "matchPackageNames": "php", "rangeStrategy": "auto" + }, + { + "description": "Require approval for minor updates on PHP", + "matchPackageNames": "php", + "matchUpdateTypes": ["minor"], + "dependencyDashboardApproval": true + }, + { + "description": "Disallow major updates for PHP", + "matchPackageNames": "php", + "matchUpdateTypes": ["major"], + "enabled": false } ] }