Skip to content

cicd: PR checks should look to see if the PR changes models without creating corresponding migrations #3919

Description

@rjsparks

The old mkrelease script had this check:

note "Checking that all model changes have been captured in migrations ..."
$do ietf/manage.py makemigrations | tee /dev/stderr | $do grep -q "^No changes detected$" || die "Model changes without migrations found."

We should have something similar in the tests that run over PRs, and again when cutting releases.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions