GH Action - validate JSON on PR

pull/11/head
Tim Cappalli 2023-08-09 18:17:25 -04:00 committed by GitHub
parent 206c41b5e6
commit ea10395d6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

View File

@ -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"