From 37e7325149ac6f34bc1d344d9a9f681d4c3ab7f1 Mon Sep 17 00:00:00 2001 From: Val Redchenko Date: Tue, 28 Apr 2026 14:35:15 +0100 Subject: [PATCH] fix: correct Renovate preset path and migrate matchPackagePatterns This repo hosts the shared renovate/default.json preset, and its own renovate.json self-extends that preset using the wrong separator. Renovate's syntax uses : for sub-preset names and // for nested file paths, so the correct reference is github>DiamondLightSource/smartem-devtools//renovate/default The previous : form fails preset resolution ("Preset name not found within published preset config"), so Renovate could not process this repo and stopped opening PRs. Worth fixing here especially because this is the canonical example that other DLS repos copy from (smartem-decisions, smartem-frontend and fandanGO-cryoem-dls have all picked up the same broken syntax; matching PRs are open in those repos: smartem-decisions#281, smartem-frontend#81, fandanGO-cryoem-dls#17). Also migrates matchPackagePatterns to matchPackageNames with the embedded /regex/ form to remove silent auto-migration churn on every Renovate run. --- renovate.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/renovate.json b/renovate.json index 85d36f4..875a3b6 100644 --- a/renovate.json +++ b/renovate.json @@ -1,6 +1,6 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["github>DiamondLightSource/smartem-devtools:renovate/default"], + "extends": ["github>DiamondLightSource/smartem-devtools//renovate/default"], "packageRules": [ { "description": "Group webui npm minor/patch", @@ -14,7 +14,7 @@ "matchManagers": ["npm"], "matchFileNames": ["webui/**"], "matchUpdateTypes": ["major"], - "matchPackagePatterns": ["^vite$", "^@vitejs/", "^@tailwindcss/vite$"], + "matchPackageNames": ["vite", "@tailwindcss/vite", "/^@vitejs//"], "groupName": "webui vite ecosystem major" }, {