diff --git a/.github/workflows/renovate-config-lint.yaml b/.github/workflows/renovate-config-lint.yaml new file mode 100644 index 0000000..8a0123b --- /dev/null +++ b/.github/workflows/renovate-config-lint.yaml @@ -0,0 +1,24 @@ +name: Validate Renovate Config + +on: + push: + paths: + - renovate.json + pull_request: + paths: + - renovate.json + +permissions: read-all + +jobs: + validate-renovate-config: + name: Validate renovate.json + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false + + - name: Validate renovate.json + run: docker run --rm -v "$PWD":/work -w /work renovate/renovate:latest renovate-config-validator renovate.json