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)