There was an error while loading. Please reload this page.
1 parent f60851f commit 06df208Copy full SHA for 06df208
1 file changed
create_pr_from_issue.py
@@ -49,6 +49,9 @@ def create_branch(name: str, root: Path | None = None, remote: str = "origin"):
49
50
51
def add_dummy_commit(branch, root: Path | None = None):
52
+ subrun(["git", "switch", "-C", branch],
53
+ cwd=root or Path.cwd(), check=True)
54
+
55
subrun(["git", "commit", "--allow-empty", "--only", "-m",
56
"draft PR anchor", "-s", "--", ":/"],
57
cwd=root or Path.cwd(),
0 commit comments