From 0f585734bbad1297b2e9bfeb3ff8681014d9a817 Mon Sep 17 00:00:00 2001 From: Vasileios Karakasis Date: Sun, 20 Nov 2022 12:36:43 +0100 Subject: [PATCH] Revert "Workaround to GH bug (?) in auto-generating PR links in the release notes" This reverts commit 011a06b95f5a36771b37fc4e85b7eeb7f3a5a390. --- 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 059b1ebd24..a3dfd6cbc9 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 = f'- {descr} ([{pr}](https://github.com/reframe-hpc/reframe/pull/{pr[1:]}))' # noqa: E501 + descr_line = '- %s (%s)' % (descr, pr) sections[title_line].append(descr_line) print('# Release Notes')