File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
PinkSea.Frontend/.github/workflows Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Validate PinkSea Lexicons
2
+
3
+ on :
4
+ push :
5
+ branches : [ "main" ]
6
+ pull_request :
7
+ branches : [ "main" ]
8
+
9
+ jobs :
10
+ validate-pinksea-lexicons-workflow :
11
+ name : Validate PinkSea lexicons
12
+ permissions :
13
+ contents : read
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - name : Check for any changed lexicons
17
+ id : check-for-changed-lexicons
18
+ uses : tj-actions/changed-files@v41
19
+ with :
20
+ files : |
21
+ PinkSea.Lexicons/**/*.json
22
+ - name : Validate lexicon schema
23
+ if : steps.check-for-changed-lexicons.outputs.any_changed == 'true'
24
+ uses : dsanders11/json-schema-validate-action
25
+ with :
26
+ schema : https://internect.info/lexicon-schema.json
27
+ files : PinkSea.Lexicons/**/*.json
You can’t perform that action at this time.
0 commit comments