Skip to content

Commit

Permalink
gha: Add renovate validator job
Browse files Browse the repository at this point in the history
Signed-off-by: Tam Mach <[email protected]>
  • Loading branch information
sayboras committed Oct 31, 2024
1 parent 20122b7 commit f8dd4e2
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/renovate-config-validator.yaml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit f8dd4e2

Please sign in to comment.