Commit 2a2d1e64 authored by marius david's avatar marius david
Browse files

fix MR presentation

parent a1d7349e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@ def process_post(self, post_body, make_pr = False):
				pr_url = self.forge.does_pr_already_exist(new_branch_name)
				if pr_url == False:
					print("branch pushed, making PR")
					pr_url = self.forge.make_pr_between_branches(new_branch_name, "main", "Add submission from Lemmy post https://toast.ooo/post/" + str(post_id), "An automated PR for submission " + str(post_id))
					pr_url = self.forge.make_pr_between_branches(new_branch_name, "main", "Add submission: " + post_body["name"], "An automated PR for submission https://toast.ooo/post/" + str(post_id))
				else:
					print("branch pushed, PR already exists")
				self.send_comment(post_id, "Thanks for your submission! The automatic PR has been opened at: " + pr_url)