From e687698851ab76f393724670f3fb688a5ddce263 Mon Sep 17 00:00:00 2001 From: grantbirki Date: Sun, 26 Mar 2023 22:34:25 +0100 Subject: [PATCH] add json / yaml validate job --- .github/workflows/json-yaml-validate.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/json-yaml-validate.yml diff --git a/.github/workflows/json-yaml-validate.yml b/.github/workflows/json-yaml-validate.yml new file mode 100644 index 00000000..fc1bf6ee --- /dev/null +++ b/.github/workflows/json-yaml-validate.yml @@ -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