Group JS updates to reduce PR spam a little (#641)

Make renovate only update js dependencies once per week and to group
them all in one PR.

Apparently with this branch name, renovate will validate the config for
me which is fancy

- [x]  no changelog update needed
This commit is contained in:
Gwilym Inzani 2024-04-16 20:30:13 +01:00 committed by GitHub
commit 5c9767a201
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 21 additions and 2 deletions

20
.github/renovate.json vendored
View file

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

View file

@ -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)