From d7d646ec6d880c4fc5f681df6195d236c43f66af Mon Sep 17 00:00:00 2001 From: Shakar Bakr <5h4k4r.b4kr@gmail.com> Date: Thu, 23 Nov 2023 11:25:28 +0300 Subject: [PATCH] Update urls Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com> --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 2a7a2d3..bb47031 100644 --- a/main.py +++ b/main.py @@ -135,7 +135,7 @@ def create_issue(self, issue): line_base_url = 'https://github.com/' else: line_base_url = self.base_url - url_to_line = f'{line_base_url}/{self.target_repo}/blob/{self.sha}/{issue.file_name}#L{issue.start_line}' + url_to_line = f'{line_base_url}{self.target_repo}/blob/{self.sha}/{issue.file_name}#L{issue.start_line}' snippet = '```' + issue.markdown_language + '\n' + issue.hunk + '\n' + '```' issue_template = os.getenv('INPUT_ISSUE_TEMPLATE', None)