add json / yaml validate job

This commit is contained in:
grantbirki 2023-03-26 22:34:25 +01:00
parent fbdeb30ce7
commit e687698851
No known key found for this signature in database
GPG Key ID: 96DF969ECBD266FE

View File

@ -0,0 +1,23 @@
name: json-yaml-validate
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
pull-requests: write # enable write permissions for pull request comments
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@v1.2.0
with:
comment: "true" # enable comment mode