File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,14 @@ name: YAML validation
33on :
44 push :
55 paths :
6+ - ' wiki/**/*.yaml'
67 - ' elements/**/*.yaml'
78 - ' events/**/*.yaml'
89 - ' functions/**/*.yaml'
910 - ' schemas/**/*.yaml'
1011 pull_request :
1112 paths :
13+ - ' wiki/**/*.yaml'
1214 - ' elements/**/*.yaml'
1315 - ' events/**/*.yaml'
1416 - ' functions/**/*.yaml'
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ tools/yajsv -s schemas/structure.yaml wiki/structure.yaml
4+ tools/yajsv -s schemas/categories.yaml wiki/categories.yaml
5+
36find ' functions/' -name ' *.yaml' -type f -print0 | xargs -0 -I {} tools/yajsv -s schemas/function.yaml {}
7+ find ' articles/' -name ' *.yaml' -type f -print0 | xargs -0 -I {} tools/yajsv -s schemas/article.yaml {}
You can’t perform that action at this time.
0 commit comments