From f55c5376e018ff72fb2013c23f2c5a3b52c4f689 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 3 Nov 2025 12:03:42 -0500 Subject: [PATCH] Fix Renovate configuration validation errors The previous commit incorrectly changed customManagers to regexManagers, which caused configuration validation errors. Renovate expects: - customManagers with customType: "regex" (not regexManagers) - custom.regex as the manager name in packageRules (not just "regex") This restores the correct configuration format that validates successfully. Fixes: de7e68e ("Fix Renovate configuration errors (#33)") Assisted-by: Claude Code (Sonnet 4.5) Signed-off-by: Colin Walters --- .github/workflows/renovate.yml | 6 ++++++ renovate-shared-config.json | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 7e41de7..d79e142 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -27,6 +27,12 @@ jobs: - name: Checkout uses: actions/checkout@v5 + - name: Validate Renovate config + run: | + docker run --rm -v "$PWD:/repo" -w /repo \ + ghcr.io/renovatebot/renovate:41 \ + renovate-config-validator renovate-shared-config.json + - name: Self-hosted Renovate uses: renovatebot/github-action@v43.0.10 env: diff --git a/renovate-shared-config.json b/renovate-shared-config.json index d2bc19c..568380d 100644 --- a/renovate-shared-config.json +++ b/renovate-shared-config.json @@ -15,8 +15,9 @@ // where you don't want to burn CI credits, while still keeping your branch // in a mergeable state at all times. "rebaseWhen": "conflicted", - "regexManagers": [ + "customManagers": [ { + "customType": "regex", "fileMatch": ["(^|/)Containerfile$", "(^|/)Dockerfile$"], "matchStrings": [ "# renovate: datasource=(?[a-z-]+) depName=(?[^\\s]+)\\s+ARG \\w+version=(?.+)" @@ -47,7 +48,7 @@ "description": "Docker dependencies", "matchManagers": [ "dockerfile", - "regex" + "custom.regex" ], "groupName": "Docker", "enabled": true