diff --git a/.github/workflows/renovate-config-validator.yaml b/.github/workflows/renovate-config-validator.yaml new file mode 100644 index 000000000..1dc0362e9 --- /dev/null +++ b/.github/workflows/renovate-config-validator.yaml @@ -0,0 +1,22 @@ +name: Validate Renovate configuration + +on: + pull_request: + paths: + - '.github/renovate.json5' + +jobs: + validate: + name: Validate Renovate configuration + runs-on: ubuntu-latest + steps: + - name: Checkout configuration + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + + # this step uses latest renovate slim release + - name: Validate configuration + run: > + docker run --rm --entrypoint "renovate-config-validator" + -v "${{ github.workspace }}/.github/renovate.json5":"/renovate.json5" + renovate/renovate:slim "/renovate.json5" +