Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Validate Renovate Config" | |
on: | |
push: | |
jobs: | |
config: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: "Own Config" | |
config-files: .github/renovate.json5 | |
- name: "Shared Config" | |
config-files: default.json | |
- name: "Shared Config (Actual)" | |
config-files: default.json5 | |
# Not possible yet: "Configuration Error: Invalid configuration option: all". | |
#- name: "Group Presets" | |
# config-files: group.json5 | |
name: "🔍 ${{ matrix.name }}" | |
timeout-minutes: 2 | |
permissions: | |
# actions/checkout | |
contents: read | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout ${{ github.ref }} branch in ${{ github.repository }} repository." | |
uses: actions/checkout@v4 | |
- name: "Run renovate-config-validator on shared config." | |
shell: bash | |
run: > | |
npx | |
--yes | |
--package renovate | |
--call 'renovate-config-validator --strict ${{ matrix.config-files }}' |