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