From d7255186be9475aef4998eb6cfd313b4f87c558d Mon Sep 17 00:00:00 2001 From: Gwilym Inzani Date: Tue, 16 Apr 2024 20:19:38 +0100 Subject: [PATCH 1/2] Update renovate config to group minor js dependencies and only apply them once per week --- .github/renovate.json | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 0729f752..14e70e72 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,9 +1,25 @@ { "extends": [ - "config:base" + "config:recommended" ], "ignorePresets": [ ":prHourlyLimit2" ], - "dependencyDashboardAutoclose": true + "dependencyDashboardAutoclose": true, + "packageRules": [ + { + "groupName": "Javascript packages (non-major)", + "groupSlug": "js-update", + "schedule": [ + "on tuesday" + ], + "matchManagers": [ + "npm" + ], + "matchUpdateTypes": [ + "patch", + "minor" + ] + } + ] } \ No newline at end of file From 8bdabb03dccee6c2c939cd9cd801dedbc1da39db Mon Sep 17 00:00:00 2001 From: Gwilym Inzani Date: Tue, 16 Apr 2024 20:19:57 +0100 Subject: [PATCH 2/2] Add justfile target to validate the renovate config --- justfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/justfile b/justfile index 848cf761..a2b42bdf 100644 --- a/justfile +++ b/justfile @@ -31,6 +31,9 @@ check-docs: (cd tracker/agb-tracker && cargo doc --target=thumbv4t-none-eabi --no-deps) cargo doc --no-deps +validate-renovate: + npx --yes --package renovate -- renovate-config-validator + _build_docs crate: (cd "{{crate}}" && cargo doc --no-deps)