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