Skip to content

Commit

Permalink
fix branch to please knut's naming rules
Browse files Browse the repository at this point in the history
now prefixing branch name with 'gh-actions-' instead of 'gh-actions/'
  • Loading branch information
iamsergio committed Jan 13, 2025
1 parent 4b0fda8 commit 2c9b4f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gh_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2c9b4f8

Please sign in to comment.