Skip to content

Commit 6bd09d9

Browse files
authored
chore: add renovate config validator to CI (#2189)
Signed-off-by: Kim Tsao <[email protected]>
1 parent 6844caf commit 6bd09d9

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: PR Renovate Config Validator
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- '.github/renovate.json'
7+
# Renovate always uses the config from the repository default branch
8+
# https://docs.renovatebot.com/configuration-options/
9+
branches: [ 'main' ]
10+
11+
jobs:
12+
renovate-config-validator:
13+
runs-on: ubuntu-latest
14+
name: Renovate Config Validator
15+
steps:
16+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
17+
- name: Validate config
18+
# See https://docs.renovatebot.com/config-validation/
19+
run: |
20+
npx --yes --package renovate -- renovate-config-validator --strict .github/renovate.json

0 commit comments

Comments
 (0)