Extend CI workflow to check for missing database migrations #9119

Closed
opened 2025-12-29 20:45:51 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Jan 19, 2024).

Originally assigned to: @jeremystretch on GitHub.

Proposed Changes

Extend our CI workflow to check for missing Django migrations with manage.py makemigrations --check.

Justification

Our pre-commit hook checks for these but CI does not.

Originally created by @jeremystretch on GitHub (Jan 19, 2024). Originally assigned to: @jeremystretch on GitHub. ### Proposed Changes Extend our [CI workflow](https://github.com/netbox-community/netbox/blob/develop/.github/workflows/ci.yml) to check for missing Django migrations with `manage.py makemigrations --check`. ### Justification Our [pre-commit hook](https://github.com/netbox-community/netbox/blob/develop/scripts/git-hooks/pre-commit) checks for these but CI does not.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 20:45:51 +01:00
adam closed this issue 2025-12-29 20:45:52 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9119