From fb80f152df6b09d73d0dae9889588e9a241f886a Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Fri, 19 Dec 2025 17:49:28 +0100 Subject: [PATCH 1/2] Add a schema validation for the renovate.json --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 97ccf93..b50d730 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -49,3 +49,8 @@ repos: hooks: - id: prettier types_or: [css, javascript] + +- repo: https://github.com/python-jsonschema/check-jsonschema + rev: 0.36.0 + hooks: + - id: check-renovate From 60c6779c64379b3e9cd20dfbba2028fa4a1e832e Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Fri, 19 Dec 2025 17:49:54 +0100 Subject: [PATCH 2/2] Add a renovate.json schema validation hook --- renovate.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/renovate.json b/renovate.json index d2fb295..749600a 100644 --- a/renovate.json +++ b/renovate.json @@ -13,6 +13,17 @@ "postUpdateOptions": [ "npmInstall" ] + }, + { + "matchPackageNames": [ + "npm" + ], + "matchUpdateTypes": [ + "major", + "minor", + "patch" + ], + "enabled": true } ] }