-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Overview
This sub-issue proposes setting up lightweight CI checks to validate JSON and YAML files to catch simple errors early.
The goal is to add basic format validation with minimal friction during development.
Tasks
- Add GitHub Action to validate all
.json
files (dashboards, etc.)- Use a simple tool like
jq
orjsonlint
- Use a simple tool like
- Add GitHub Action to validate all
.yml
and.yaml
files (prometheus rules, configurations)- Use a tool like
yamllint
- Use a tool like
- Configure the workflows to run automatically on:
- Pull requests
- Pushes to
main
- Fail CI if invalid files are detected
- Keep workflows lightweight and fast (<1 min typical run time)
Notes
- Focus initially on basic format validation only (syntax correctness).
- Deeper semantic validation (e.g., validating Grafana dashboards or Prometheus rules more fully) can be added later.
- No changes required to the main repo content — just adds workflows.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request