From ed5127de64da9ba4b53fb21f19af235869bf25a6 Mon Sep 17 00:00:00 2001 From: Meier Lukas Date: Mon, 20 Oct 2025 19:18:22 +0200 Subject: [PATCH] ci(renovate): add config validation job (#4303) --- .github/renovate.json5 | 4 ++-- .github/workflows/on-pr-renovate-validate.yml | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/on-pr-renovate-validate.yml diff --git a/.github/renovate.json5 b/.github/renovate.json5 index e09f51e56..eddf9b48d 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -3,12 +3,12 @@ extends: ["config:recommended"], packageRules: [ { - matchPackagePatterns: ["^@homarr/"], + matchPackageNames: ["^@homarr/"], enabled: false, }, // Reenable once https://github.com/privatenumber/tsx/issues/737 is fixed { - matchPackagePatterns: ["tsx"], + matchPackageNames: ["tsx"], enabled: false, }, { diff --git a/.github/workflows/on-pr-renovate-validate.yml b/.github/workflows/on-pr-renovate-validate.yml new file mode 100644 index 000000000..a6096c033 --- /dev/null +++ b/.github/workflows/on-pr-renovate-validate.yml @@ -0,0 +1,18 @@ +name: "[Renovate] Validate configuration" + +permissions: + contents: read + +on: + pull_request: + branches: ["*"] + paths: [".github/renovate.json5"] + +jobs: + renovate-validate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + - run: | + npx --yes --package renovate -- \ + renovate-config-validator --strict .github/renovate.json5