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

uranusjr pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 8b358bd6c6e Fix CI upgrade script to not delete branch from origin 
remote (#58163)
8b358bd6c6e is described below

commit 8b358bd6c6ee98e2144a1b2d7d706ddee2213152
Author: Jarek Potiuk <[email protected]>
AuthorDate: Tue Nov 11 06:21:57 2025 +0100

    Fix CI upgrade script to not delete branch from origin remote (#58163)
---
 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