We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a964092 commit c0d39ceCopy full SHA for c0d39ce
1 file changed
.github/workflows/validate-schema.yml
@@ -0,0 +1,22 @@
1
+name: Validate JSONs
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ types: [opened, synchronize, reopened]
9
+ workflow_dispatch:
10
11
12
+jobs:
13
+ verify-json-validation:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v1
17
+ - name: Install NPM dependencies (i.e., ajv)
18
+ run: |
19
+ sudo npm install --loglevel verbose -g yargs ajv-formats@"^1.5.x" ajv-cli@"^4.0.x"
20
+ - name: Run Content Unit Tests
21
22
+ bash ajv compile -c ajv-formats -s schema/v5.0/CVE_JSON_5.0.schema
0 commit comments