Switch from outdated bors r+ to automerge

This commit is contained in:
Felix Schütt
2023-01-26 16:16:56 +01:00
parent cb00fb32c1
commit 2806efa27c

View File

@ -294,7 +294,7 @@ def make_release(version):
raise Exception("could not commit checkout master " + RELEASE_VERSION_WITH_V)
if not(already_released):
proc = subprocess.Popen(['gh','pr', "comment", pr_number, "--body", "bors r+"], stdout = subprocess.PIPE, cwd = temp_dir.name)
proc = subprocess.Popen(['gh','pr', "merge", "--auto", pr_number, "--merge", "--delete-branch"], stdout = subprocess.PIPE, cwd = temp_dir.name)
proc.wait()
# wait for bors to merge PR