python-jsonschema / check-jsonschema

A CLI and set of pre-commit hooks for jsonschema validation with built-in support for GitHub Workflows, Renovate, Azure Pipelines, and more!
https://check-jsonschema.readthedocs.io/en/stable
Other
191 stars 39 forks source link

Allow validation of Cloud Build `json` configs #427

Closed jrdnbradford closed 1 month ago

jrdnbradford commented 1 month ago

The Google Cloud Build config validation is originally how I found this repo. At SchemaStore the schema had been neglected for a while so I updated it there.

Most Cloud Build configs use yaml, and it's possible at the time the check-cloudbuild hook was added here that was the only option. However, Cloud Build does allow json configs. I've updated the catalogue to reflect this and re-generated the hook.

Never noticed this since all my configs are yaml, but this should help others out. 🚀

jrdnbradford commented 1 month ago

Awesome. @ me if I can ever help with upstream Cloud Build issues filed here.