Skip to content

Commit

Permalink
Merge pull request #2 from SyncraDAO/add-gh-action
Browse files Browse the repository at this point in the history
Add JSON validation
  • Loading branch information
piotrszacilowski authored May 23, 2024
2 parents 4f79793 + 1c07196 commit 412e0ae
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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@v4

- name: json-yaml-validate
id: json-yaml-validate
uses: GrantBirki/json-yaml-validate@vX.X.X # replace with the latest version
with:
comment: "true" # enable comment mode

0 comments on commit 412e0ae

Please sign in to comment.