We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79781e5 commit dc8157eCopy full SHA for dc8157e
.github/workflows/validate-schema.yml
@@ -0,0 +1,27 @@
1
+name: Validate PinkSea Lexicons
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
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
26
+ schema: https://internect.info/lexicon-schema.json
27
+ files: PinkSea.Lexicons/**/*.json
0 commit comments