From ea1ba7141477be7b301d0b33b1fcc85033f0a15e Mon Sep 17 00:00:00 2001 From: omo50 <144749186+omo50@users.noreply.github.com> Date: Sat, 14 Mar 2026 21:44:10 -0600 Subject: [PATCH] chore(actions): create json linter --- .forgejo/workflows/wf-json-linter.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .forgejo/workflows/wf-json-linter.yml 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