Skip to content

Commit

Permalink
fix: Temporarily remove check for coupled migrations and code changes (
Browse files Browse the repository at this point in the history
  • Loading branch information
ayirr7 authored May 14, 2024
1 parent f744611 commit 4f68283
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions scripts/check-migrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,6 @@ def main(
if _head_commit_pr_has_skip_label(workdir):
return

migrations_changes = _get_migration_changes(workdir, to)
has_migrations = len(migrations_changes.splitlines()) > 0
if has_migrations:
all_changes = _get_changes(["*"], workdir, to)
if all_changes != migrations_changes:
raise CoupledMigrations(
f"Migration changes are coupled with other changes.\n\nMigrations changes: \n{migrations_changes}\n\nAll changes: \n{all_changes}"
)


if __name__ == "__main__":
parser = argparse.ArgumentParser()
Expand Down

0 comments on commit 4f68283

Please sign in to comment.