We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 303e479 commit 8cc478bCopy full SHA for 8cc478b
1 file changed
.github/workflows/validate-renovate.yaml
@@ -0,0 +1,30 @@
1
+---
2
+name: Validate Renovate config
3
+
4
+on:
5
+ push:
6
+ branches:
7
+ - main
8
+ pull_request:
9
10
+jobs:
11
+ validate:
12
+ name: Validate renovate config
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v4
16
17
+ - name: Check for config changes
18
+ id: diff
19
+ uses: tj-actions/changed-files@v46
20
+ with:
21
+ files: |
22
+ renovate.json
23
24
+ - shell: bash
25
+ if: ${{ steps.diff.outputs.any_changed == 'true' }}
26
+ run: |
27
+ set +o pipefail
28
+ npx -y -p renovate -c renovate-config-validator \
29
+ | tee /dev/stderr \
30
+ | grep -Evz '(ERROR|could not be parsed)'
0 commit comments