Skip to content

Commit

Permalink
Add JSON syntax validation on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
willscott authored Jul 25, 2024
1 parent c8b8c36 commit 2d963e6
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/syntax.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Validate JSON

on:
push:
branches-ignore: [master]
pull_request:
branches: [master]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: jsonlint
uses: super-linter/super-linter/slim@v5
env:
VALIDATE_JSON: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2d963e6

Please sign in to comment.