Skip to content

Commit

Permalink
ci: PLATE-777: Add PR link to release notes (#5336)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitabelonogov committed Jan 23, 2024
1 parent 2002e96 commit 08e726c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,10 @@ def sort_task_by_label(tasks: list[AhaFeature]) -> dict[str, list[AhaFeature]]:
def render_tasks_md(tasks: list[AhaFeature]) -> list[str]:
result = []
for task in tasks:
result.append(f'- {task.desc} [{task.key}]({task.link})')
line = f'- {task.desc} [{task.key}]({task.link})'
if task.pr:
line += f' (#{task.pr})'
result.append(line)
return result


Expand Down

0 comments on commit 08e726c

Please sign in to comment.