From fde8bf4f5dfea96f664b01f9eb37ffd16c068bbc Mon Sep 17 00:00:00 2001 From: Hugh Nimmo-Smith Date: Wed, 29 Jan 2025 11:06:01 +0000 Subject: [PATCH] Adjust renovate bot schedule and enable vulnerability updates - Default schedule of monthly => less noise - Minimum release age of 5 days => we don't need to be at the bleeding edge for most things - Add "dependencies" label to PRs - Enable security updates at any time --- renovate.json | 35 +++++++++++++++++++++++------------ 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/renovate.json b/renovate.json index 97c776ec..afb8fa40 100644 --- a/renovate.json +++ b/renovate.json @@ -1,18 +1,22 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["config:recommended"], + "extends": [ + "config:recommended", + "schedule:monthly", + ":enableVulnerabilityAlertsWithLabel(security)" + ], + "addLabels": ["dependencies"], + "minimumReleaseAge": "5 days", "packageRules": [ { "groupName": "all non-major dependencies", "groupSlug": "all-minor-patch", - "matchUpdateTypes": ["minor", "patch"], - "extends": ["schedule:weekly"] + "matchUpdateTypes": ["minor", "patch"] }, { "groupName": "GitHub Actions", "matchDepTypes": ["action"], - "pinDigests": true, - "extends": ["schedule:monthly"] + "pinDigests": true }, { "description": "Disable Renovate for packages we want to monitor ourselves", @@ -22,28 +26,35 @@ }, { "groupName": "matrix-widget-api", - "matchDepNames": ["matrix-widget-api"] + "matchDepNames": ["matrix-widget-api"], + "schedule": ["weekly"] }, { "groupName": "Compound", - "schedule": "before 5am on Tuesday and Friday", - "matchPackageNames": ["@vector-im/compound-{/,}**"] + "matchPackageNames": ["@vector-im/compound-{/,}**"], + "schedule": ["weekly"] }, { "groupName": "LiveKit client", - "matchDepNames": ["livekit-client"] + "matchDepNames": ["livekit-client"], + "schedule": ["weekly"] }, { "groupName": "LiveKit components", - "matchPackageNames": ["@livekit/components-{/,}**"] + "matchPackageNames": ["@livekit/components-{/,}**"], + "schedule": ["weekly"] }, { "groupName": "Vaul", "matchDepNames": ["vaul"], - "extends": ["schedule:monthly"], "prHeader": "Please review modals on mobile for visual regressions." } ], "semanticCommits": "disabled", - "ignoreDeps": ["posthog-js"] + "ignoreDeps": ["posthog-js"], + "vulnerabilityAlerts": { + "schedule": ["at any time"], + "prHourlyLimit": 0, + "minimumReleaseAge": null + } }