Loading tools/lib/gitlab_forge.py +1 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ def mr_branch(self, post_id: int): return "lemmy-" + str(post_id) def does_pr_already_exist(self, from_branch): url = "https://{}/api/v4/projects/{}/merge_requests?state=opened&source_branch={}&target_branch={}".format(self.domain, self.project_id, from_branch, "main") url = "https://{}/api/v4/projects/{}/merge_requests?source_branch={}&target_branch={}".format(self.domain, self.project_id, from_branch, "main") req = requests.get(url) req.raise_for_status() Loading Loading
tools/lib/gitlab_forge.py +1 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ def mr_branch(self, post_id: int): return "lemmy-" + str(post_id) def does_pr_already_exist(self, from_branch): url = "https://{}/api/v4/projects/{}/merge_requests?state=opened&source_branch={}&target_branch={}".format(self.domain, self.project_id, from_branch, "main") url = "https://{}/api/v4/projects/{}/merge_requests?source_branch={}&target_branch={}".format(self.domain, self.project_id, from_branch, "main") req = requests.get(url) req.raise_for_status() Loading