bugfix: use rest of branch name instead of ticket for pr title generation
This commit is contained in:
@@ -138,7 +138,7 @@ def _get_pr_title_from_branch(branch: str) -> str:
|
||||
maybe_ticket = branch_desc[:second_dash]
|
||||
if is_valid_ticket(maybe_ticket):
|
||||
branch_ticket = maybe_ticket
|
||||
branch_desc = branch_desc[:second_dash+1]
|
||||
branch_desc = branch_desc[second_dash+1:]
|
||||
|
||||
return " ".join(filter(None, [
|
||||
f"[Pasaje a {components[1]}]" if len(components) == 4 else None,
|
||||
|
||||
Reference in New Issue
Block a user