From 011a06b95f5a36771b37fc4e85b7eeb7f3a5a390 Mon Sep 17 00:00:00 2001 From: Vasileios Karakasis Date: Fri, 9 Sep 2022 22:59:51 +0200 Subject: [PATCH] Workaround to GH bug (?) in auto-generating PR links in the release notes --- ci-scripts/genrelnotes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci-scripts/genrelnotes.py b/ci-scripts/genrelnotes.py index a3dfd6cbc9..059b1ebd24 100755 --- a/ci-scripts/genrelnotes.py +++ b/ci-scripts/genrelnotes.py @@ -49,7 +49,7 @@ def extract_release_notes(git_output, tag): title_line = titles.get(tag, '## Other') sections.setdefault(title_line, []) for pr, descr in extract_release_notes(completed.stdout, tag): - descr_line = '- %s (%s)' % (descr, pr) + descr_line = f'- {descr} ([{pr}](https://github.com/reframe-hpc/reframe/pull/{pr[1:]}))' # noqa: E501 sections[title_line].append(descr_line) print('# Release Notes')