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.
2 parents a964092 + c60a4c8 commit 1b3abdeCopy full SHA for 1b3abde
.github/workflows/validate-schema.yml
@@ -0,0 +1,21 @@
1
+name: Validate JSON Schemas
2
+on:
3
+ push:
4
+ branches:
5
+ - master
6
+ pull_request:
7
+ types: [opened, synchronize, reopened]
8
+ workflow_dispatch:
9
10
11
+jobs:
12
+ verify-json-validation:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v1
16
+ - name: Install NPM dependencies (i.e., ajv)
17
+ run: |
18
+ sudo npm install --loglevel verbose -g yargs ajv-formats@"^1.5.x" ajv-cli@"^4.0.x"
19
+ - name: Validate JSON schema
20
21
+ bash ajv compile -c ajv-formats -s schema/v5.0/CVE_JSON_5.0.schema
0 commit comments