Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run genjsonschema in CI #6353

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

dmathieu
Copy link
Member

#6347 is updating the generated JSON schema, as it has changed with upgrades of go-jsonschema.
We update the binary semi automatically with dependabot. However, this means there could be unseen regressions or changes like this that we miss.

This runs the schema generation on CI, before checking for a clean repository, so we can keep the generated code up to date with the binary version.

This should fail until #6347 and #6349 are merged.

@dmathieu dmathieu added the Skip Changelog Allow PR to succeed without requiring an addition to the CHANGELOG label Nov 20, 2024
.github/workflows/ci.yml Outdated Show resolved Hide resolved
@dmathieu dmathieu marked this pull request as ready for review November 21, 2024 08:23
@dmathieu dmathieu requested a review from a team as a code owner November 21, 2024 08:23
Copy link
Contributor

@evan-bradley evan-bradley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Wasn't sure where to add this when updating the types, but this is the obvious next step to make sure they don't go out-of-date.

@pellared
Copy link
Member

CC @codeboten

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog Allow PR to succeed without requiring an addition to the CHANGELOG
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants