diff --git a/.github/workflows/renovate-validator.yml b/.github/workflows/renovate-validator.yml new file mode 100644 index 00000000000..592e08c4fe5 --- /dev/null +++ b/.github/workflows/renovate-validator.yml @@ -0,0 +1,26 @@ +name: Renovate Config Validator + +on: + push: + branches: [ master ] + paths: + - 'renovate.json' + pull_request: + branches: [ master ] + paths: + - 'renovate.json' + +jobs: + validate: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + + - name: Set up Nodes.js + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 + with: + node-version: latest + + - name: Validate Renovate Config + run: npx --yes --package renovate -- renovate-config-validator