name: JSON check on: push: paths: - '**.json' pull_request: jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: json-syntax-check uses: limitusus/json-syntax-check@v2 with: pattern: "\\.json$" - name: JSON checks failed if: failure() run: echo "Some JSON files have failed the comprehensive syntax check. Please check the logs for details."