We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2437e46 commit d58e8d6Copy full SHA for d58e8d6
.github/workflows/validate-renovate-config.yaml
@@ -0,0 +1,28 @@
1
+name: Validate Renovate Config
2
+
3
+on:
4
+ pull_request:
5
+ paths:
6
+ - ".github/renovate-bot.js"
7
+ - ".github/renovate/**"
8
+ workflow_dispatch:
9
10
+jobs:
11
+ validate:
12
+ permissions:
13
+ contents: read
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v5
17
+ - uses: actions/setup-node@v6
18
+ with:
19
+ node-version: '24'
20
21
+ - name: Validate renovate-bot.js
22
+ if: ${{ hashFiles('.github/renovate-bot.js') != '' }}
23
+ run: |
24
+ npx --yes --package renovate -- renovate-config-validator .github/renovate-bot.js
25
26
+ - name: Validate renovate directory configs
27
28
+ find .github/renovate -type f -name '*.json' -exec npx --yes renovate-config-validator {} \;
0 commit comments