diff --git a/backend/automation/models/projects/commits.py b/backend/automation/models/projects/commits.py index c9c0990..d49a652 100644 --- a/backend/automation/models/projects/commits.py +++ b/backend/automation/models/projects/commits.py @@ -25,7 +25,7 @@ def __init__( self.commit_prefixes = config["commit-prefixes"] def pull_changes(self) -> None: - self.repo.remote().pull() + self.repo.remote().pull(rebase=True) def get_commits_to_compare(self, initial_comparison: int = 3) -> list[str]: """Returns SHA of commits that should be analyzed ordered from oldest