Skip to content

Commit a2aca55

Browse files
vlsiclaude
andcommitted
ci: add Renovate config lint workflow
Validate renovate.json on changes via renovate-config-validator to catch typos and schema regressions before merge. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 8e1b925 commit a2aca55

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Validate Renovate Config
2+
3+
on:
4+
push:
5+
paths:
6+
- renovate.json
7+
- .github/workflows/renovate-config-lint.yaml
8+
pull_request:
9+
paths:
10+
- renovate.json
11+
- .github/workflows/renovate-config-lint.yaml
12+
13+
# Declare default permissions as read-only.
14+
permissions: read-all
15+
16+
jobs:
17+
validate-renovate-config:
18+
name: Validate renovate.json
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout sources
22+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
23+
with:
24+
persist-credentials: false
25+
26+
- name: Validate renovate.json
27+
run: docker run --rm -v "$PWD":/work -w /work renovate/renovate:latest renovate-config-validator renovate.json

0 commit comments

Comments
 (0)