GH Action - validate JSON on PR
parent
206c41b5e6
commit
ea10395d6b
|
@ -0,0 +1,20 @@
|
|||
name: Validate JSON Schema
|
||||
on: [pull_request]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
json-yaml-validate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: json-yaml-validate
|
||||
id: json-yaml-validate
|
||||
uses: GrantBirki/json-yaml-validate@v2.0.0
|
||||
with:
|
||||
mode: "fail"
|
||||
json_schema: "aaguid.json.schema"
|
||||
comment: "true"
|
Loading…
Reference in New Issue