From fc48f7fb60a550c16d3d09fd0adcddb1750aa6df Mon Sep 17 00:00:00 2001 From: gursewak1997 Date: Wed, 14 Jan 2026 17:50:33 -0800 Subject: [PATCH 1/2] renovate: Use schema validator to catch config errors in CI The previous validation using RENOVATE_DRY_RUN: lookup did not catch invalid configuration fields like excludeDatasources. Renovate logs config warnings but does not exit with non-zero code for user mistakes. Switch to renovate-config-validator with --strict flag, which performs JSON schema validation and fails on invalid fields. Signed-off-by: gursewak1997 --- .github/workflows/renovate.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 60379de..b956c19 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -20,14 +20,13 @@ jobs: - name: Checkout uses: actions/checkout@v6 - - name: Validate Renovate config - uses: renovatebot/github-action@v44.2.3 - env: - RENOVATE_DRY_RUN: lookup - LOG_LEVEL: debug - with: - configurationFile: renovate-config.js - token: '${{ secrets.GITHUB_TOKEN }}' + - name: Validate Renovate config with schema validator + run: | + docker run --rm -v $(pwd):/usr/src/app ghcr.io/renovatebot/renovate:42 \ + renovate-config-validator --strict \ + /usr/src/app/renovate.json \ + /usr/src/app/renovate-shared-config.json \ + /usr/src/app/renovate-config.js renovate: runs-on: ubuntu-latest From dafbf6cb0b497fc3fedd9402fe64df2bd89728ce Mon Sep 17 00:00:00 2001 From: gursewak1997 Date: Wed, 14 Jan 2026 17:51:10 -0800 Subject: [PATCH 2/2] renovate: Remove redundant github-actions fileMatch override The github-actions manager already includes default patterns that match .github/workflows/*.yml and .github/actions/*/action.yml files. This override was redundant and causing migration warnings with --strict validation. Signed-off-by: gursewak1997 --- renovate.json | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/renovate.json b/renovate.json index 3ed8387..3e4b91a 100644 --- a/renovate.json +++ b/renovate.json @@ -2,11 +2,5 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "local>bootc-dev/infra:renovate-shared-config.json" - ], - "github-actions": { - "fileMatch": [ - "(^|/).github/workflows/[^/]+\\.ya?ml$", - "(^|/).github/actions/[^/]+/action\\.ya?ml$" - ] - } + ] }