bugfix: dont push environment branches since they are already created on remote

This commit is contained in:
jt
2026-05-20 17:13:34 -03:00
parent 417021b36e
commit 04c9a4b449
+1
View File
@@ -49,6 +49,7 @@ def run_remote(remote: str, token: str, branch: str, target: str):
show_commits_to_merge(target) show_commits_to_merge(target)
if confirm(f"¿Crear PR de '{branch}' a '{target}'?"): if confirm(f"¿Crear PR de '{branch}' a '{target}'?"):
if branch not in environments:
Git("push", remote, branch, set_upstream=True).exec( Git("push", remote, branch, set_upstream=True).exec(
print="Subiendo rama al remoto para crear PR" print="Subiendo rama al remoto para crear PR"
) )