feat: add PR link support in changelog updates

This commit is contained in:
mrT23 2024-12-23 19:35:52 +02:00
parent dd89e1f2dc
commit 6c131b8406
No known key found for this signature in database
GPG key ID: D350490E39D5F5AD

View file

@ -113,6 +113,8 @@ class PRUpdateChangelog:
# post-process the response # post-process the response
response = response.strip() response = response.strip()
if not response:
return ""
if response.startswith("```"): if response.startswith("```"):
response_lines = response.splitlines() response_lines = response.splitlines()
response_lines = response_lines[1:] response_lines = response_lines[1:]