name: Validate Renovate Config on: pull_request: paths: - ".github/renovate.json5" - ".github/workflows/renovate.yml" push: branches: - main paths: - ".github/renovate.json5" - ".github/workflows/renovate.yml" permissions: {} jobs: validate: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup Node.js uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: latest - name: Install dependencies shell: bash env: RENOVATE_VERSION: latest run: npm install -g renovate@${RENOVATE_VERSION} - name: Validate Renovate config shell: bash run: renovate-config-validator --strict