Skip to content

chore: add checks for schema changes#1992

Open
mentonin wants to merge 2 commits into
kernelci:mainfrom
profusion:georg/fix/schema-CI
Open

chore: add checks for schema changes#1992
mentonin wants to merge 2 commits into
kernelci:mainfrom
profusion:georg/fix/schema-CI

Conversation

@mentonin

Copy link
Copy Markdown
Contributor

Summary

This PR adds a pre-commit hook to check that backend/schema.yml is up-to-date with python manage.py spectacular.

It also adds all pre-commit checks to the CI workflow, replacing duplicated linting/format specifications.

Related Issues

mentonin added 2 commits July 14, 2026 23:06
Signed-off-by: Luiz Georg <luiz.georg@profusion.mobi>
This removes code duplication and makes the CI checks
consistent with the development environment.

Signed-off-by: Luiz Georg <luiz.georg@profusion.mobi>
@alanpeixinho

Copy link
Copy Markdown
Contributor

@mentonin are we dropping the removal of the schema.yml from versioning?

@tales-aparecida

Copy link
Copy Markdown

how come the CI checks are empty?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enforce OpenAPI schema updates in CI

3 participants