Skip to content

Commit

Permalink
Simple JSON validation
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Sep 26, 2024
1 parent dc27ab3 commit 9d3e8d2
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/validate-json.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Validate JSON

on:
pull_request:
types: [opened, reopened, edited, synchronize, review_requested]

concurrency:
group: validate-json-${{github.event.pull_request.number}}
cancel-in-progress: true

jobs:
editorconfig:
name: "Validate JSON"
runs-on: ubuntu-latest
steps:
- name:
run: |
EMPTY=$(cat config.ng.jobs.json | jq | nl | grep '"author": ""')
echo $EMPTY >> $GITHUB_STEP_SUMMARY
if [[ -n "${EMPTY}" ]]; then false; fi

0 comments on commit 9d3e8d2

Please sign in to comment.