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
3
3
on :
4
4
push :
5
5
paths :
6
+ - ' wiki/**/*.yaml'
6
7
- ' elements/**/*.yaml'
7
8
- ' events/**/*.yaml'
8
9
- ' functions/**/*.yaml'
9
10
- ' schemas/**/*.yaml'
10
11
pull_request :
11
12
paths :
13
+ - ' wiki/**/*.yaml'
12
14
- ' elements/**/*.yaml'
13
15
- ' events/**/*.yaml'
14
16
- ' functions/**/*.yaml'
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
+ tools/yajsv -s schemas/structure.yaml wiki/structure.yaml
4
+ tools/yajsv -s schemas/categories.yaml wiki/categories.yaml
5
+
3
6
find ' 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