-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Hi, it would be great if meeseeksbot could be configured to automerge PRs. I trust my CI system and the fact that it was merged cleanly enough to want to do that.
MeeseeksDev/meeseeksdev/meeseeksbox/commands.py
Lines 1011 to 1027 in bfd704f
| new_pr = session.personal_request( | |
| "POST", | |
| f"https://api.github.com/repos/{org_name}/{repo_name}/pulls", | |
| json={ | |
| "title": f"Backport PR #{prnumber} on branch {target_branch} ({prtitle})", | |
| "body": msg, | |
| "head": f"{session.personal_account_name}:{remote_submit_branch}", | |
| "base": target_branch, | |
| }, | |
| ).json() | |
| new_number = new_pr["number"] | |
| resp = session.ghrequest( | |
| "PATCH", | |
| f"https://api.github.com/repos/{org_name}/{repo_name}/issues/{new_number}", | |
| json={"milestone": milestone_number, "labels": labels_names}, | |
| ) |
Metadata
Metadata
Assignees
Labels
No labels