This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 681ab7878d2f401035b7ac6535beccb751fb8504
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Nov 11 21:56:47 2025 +0100

    [v3-1-test] Fix CI upgrade script to not delete branch from origin remote 
(#58163) (#58179)
    
    (cherry picked from commit 8b358bd6c6ee98e2144a1b2d7d706ddee2213152)
    
    Co-authored-by: Jarek Potiuk <[email protected]>
---
 dev/breeze/src/airflow_breeze/commands/ci_commands.py | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/dev/breeze/src/airflow_breeze/commands/ci_commands.py 
b/dev/breeze/src/airflow_breeze/commands/ci_commands.py
index 96b5ac7e343..2798217b1fe 100644
--- a/dev/breeze/src/airflow_breeze/commands/ci_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/ci_commands.py
@@ -749,10 +749,5 @@ def upgrade(target_branch: str, create_pr: bool | None, 
switch_to_base: bool | N
         # Delete local branch
         run_command(["git", "branch", "-D", branch_name])
         get_console().print(f"[success]Local branch {branch_name} deleted.[/]")
-
-        # Delete remote branch from origin
-        get_console().print(f"[info]Deleting branch {branch_name} from 
{push_remote}...[/]")
-        run_command(["git", "push", push_remote, "--delete", branch_name], 
check=False)
-        get_console().print(f"[success]Remote branch {branch_name} deleted 
from {push_remote}.[/]")
     else:
         get_console().print("[info]PR creation skipped. Changes are committed 
locally.[/]")

Reply via email to