We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdf1c7c commit 96e9548Copy full SHA for 96e9548
.github/workflows/validate.yaml
@@ -3,12 +3,14 @@ name: YAML validation
3
on:
4
push:
5
paths:
6
+ - 'wiki/**/*.yaml'
7
- 'elements/**/*.yaml'
8
- 'events/**/*.yaml'
9
- 'functions/**/*.yaml'
10
- 'schemas/**/*.yaml'
11
pull_request:
12
13
14
15
16
tools/validate.sh
@@ -1,3 +1,7 @@
1
#!/bin/bash
2
+tools/yajsv -s schemas/structure.yaml wiki/structure.yaml
+tools/yajsv -s schemas/categories.yaml wiki/categories.yaml
+
find 'functions/' -name '*.yaml' -type f -print0 | xargs -0 -I {} tools/yajsv -s schemas/function.yaml {}
+find 'articles/' -name '*.yaml' -type f -print0 | xargs -0 -I {} tools/yajsv -s schemas/article.yaml {}
0 commit comments