diff --git a/.github/scripts/check_migrations.py b/.github/scripts/check_migrations.py index ded7130bd9..dcb6aefa03 100644 --- a/.github/scripts/check_migrations.py +++ b/.github/scripts/check_migrations.py @@ -4,7 +4,7 @@ def list_files_on_branch(first_branch_name, second_branch_name): # Run git diff command to list files on the specified branch - output = subprocess.check_output(['git', 'diff', '--name-only', f'origin/{first_branch_name}..origin/{second_branch_name}']).decode().strip() + output = subprocess.check_output(['git', 'diff', '--name-only', f'{first_branch_name}..{second_branch_name}']).decode().strip() return output.split('\n')