Skip to content

Commit

Permalink
chore: add renovate config validator to CI (#2189)
Browse files Browse the repository at this point in the history
Signed-off-by: Kim Tsao <ktsao@redhat.com>
  • Loading branch information
kim-tsao authored Jan 15, 2025
1 parent 6844caf commit 6bd09d9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/renovate-checks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: PR Renovate Config Validator

on:
pull_request:
paths:
- '.github/renovate.json'
# Renovate always uses the config from the repository default branch
# https://docs.renovatebot.com/configuration-options/
branches: [ 'main' ]

jobs:
renovate-config-validator:
runs-on: ubuntu-latest
name: Renovate Config Validator
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Validate config
# See https://docs.renovatebot.com/config-validation/
run: |
npx --yes --package renovate -- renovate-config-validator --strict .github/renovate.json

0 comments on commit 6bd09d9

Please sign in to comment.