From 8e0d97f4cc7de019ebd80bf712848549d9e42877 Mon Sep 17 00:00:00 2001 From: Saurabh Shrihar Date: Fri, 20 Sep 2024 18:13:47 +0400 Subject: [PATCH] Branch name update for pulling it. --- build_branches.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_branches.py b/build_branches.py index 09627f7d..ce821767 100755 --- a/build_branches.py +++ b/build_branches.py @@ -68,7 +68,7 @@ def process_branch_folders(): for branch_data in branches_data: if not branch_data["headRefName"].startswith("hosted/"): continue - branch_name = branch_data["headRefName"].split("hosted/", 1)[1] + branch_name = branch_data["headRefName"] pr_number = str(branch_data["number"]) target_path = os.path.join(common_dir, pr_number) os.makedirs(target_path, exist_ok=True)