Skip to content

Commit

Permalink
proper branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
markus-ap committed Mar 14, 2024
1 parent 49b1d14 commit 17bb3b3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,12 @@
try:
pr_title = f"COLT ./- Generated code library - {now}"
pr_body = "Plz check files."
pr = repo.create_pull(title=pr_title, body=pr_body, head=new_branch, base=default_branch.name)
pr = repo.create_pull(
title = pr_title,
body = pr_body,
head = branch_name,
base = default_branch.name
)
except GithubException as ex:
print(f"Failed to create pull request: {ex}")

Expand Down

0 comments on commit 17bb3b3

Please sign in to comment.