diff --git a/validator.yaml b/validator.yaml new file mode 100644 index 0000000..264d75d --- /dev/null +++ b/validator.yaml @@ -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@v2.0.0 # replace with the latest version + with: + comment: "true" # enable comment mode