From 2c9b4f88f551d0334023309b92a0de436fb9c5d4 Mon Sep 17 00:00:00 2001 From: Sergio Martins Date: Mon, 13 Jan 2025 11:18:39 +0000 Subject: [PATCH] fix branch to please knut's naming rules now prefixing branch name with 'gh-actions-' instead of 'gh-actions/' --- src/gh_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gh_utils.py b/src/gh_utils.py index 80f6379..1f3c1ae 100755 --- a/src/gh_utils.py +++ b/src/gh_utils.py @@ -269,7 +269,7 @@ def get_submodule_dependency_version(repo_path): def checkout_randomly_named_branch(repo_path, prefix): - branch = f"{prefix}/{str(uuid.uuid4())}" + branch = f"{prefix}-{str(uuid.uuid4())}" if run_command(f"git -C {repo_path} checkout -B {branch}"): return branch return None