diff --git a/backend/steps/git.py b/backend/steps/git.py index 16db25d..0c56857 100644 --- a/backend/steps/git.py +++ b/backend/steps/git.py @@ -312,7 +312,7 @@ class CheckoutMerged(AbstractStep[CheckoutAndMergeResult]): remote_name, branch_name = ref.name.split('/', 1) remote_branch_name = branch_name if remote_name == 'origin' else ref.name break - if self.push and remote_branch_name is None: + if self.push: auto_branch_hash = hashlib.sha1(''.join([x.hexsha for x in sorted_commits]).encode()).hexdigest() auto_branch_name = f"auto-{version}"