diff --git a/.forgejo/workflows/wf-json-linter.yml b/.forgejo/workflows/wf-json-linter.yml new file mode 100644 index 000000000..0946f3a23 --- /dev/null +++ b/.forgejo/workflows/wf-json-linter.yml @@ -0,0 +1,19 @@ +name: JSON linter +on: + push: + branches: [ "main" ] + paths: + - '**/*.json' + pull_request: + paths: + - '**/*.json' + +jobs: + lint: + runs-on: technocality + steps: + - uses: actions/checkout@v5 + with: + fetch-depth: 1 + - name: Lint JSON + run: find . -name "*.json" | xargs -I{} jq empty {} \ No newline at end of file