Skip to content

Add GitHub Action to validate JSON files on PR - #681

Merged
ThyeeZz merged 1 commit into
masterfrom
codex/validate-json-pr
Sep 24, 2026
Merged

ThyeeZz merged 1 commit into
masterfrom
codex/validate-json-pr

Conversation

@ThyeeZz

@ThyeeZz ThyeeZz commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a new GitHub Actions workflow (.github/workflows/validate_json.yml) that runs on pull requests and validates the JSON syntax of all *.json files in the repository.

Details

  • Triggers on pull_request events: opened, synchronize, reopened
  • Uses Python's json.load to check each JSON file
  • Skips node_modules/ and .git/ directories
  • Ignores lock files: *.lock.json and package-lock.json (covers yarn/npm/pnpm lock files)
  • Reports invalid files with annotated ::error messages

@sre-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ThyeeZz

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ThyeeZz
ThyeeZz merged commit 8d5b8d5 into master Sep 24, 2026
1 check passed
@ThyeeZz
ThyeeZz deleted the codex/validate-json-pr branch September 24, 2026 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants