From c1e94ff244b0cd8e0dbd00adb91d54fd60570fbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Skyler=20M=C3=A4ntysaari?= Date: Sat, 29 Mar 2025 10:36:43 +0200 Subject: [PATCH] chore(ci): That definitely did not work like planned --- .github/scripts/renovate-releasenotes.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/scripts/renovate-releasenotes.py b/.github/scripts/renovate-releasenotes.py index f69b908..527eaae 100755 --- a/.github/scripts/renovate-releasenotes.py +++ b/.github/scripts/renovate-releasenotes.py @@ -189,7 +189,9 @@ def main( }) if annotations: - annotations_string = yaml.dump(annotations) + # Instead of trying to dump the list of annotations directly, we'll treat it as a string + annotations_list = [yaml.dump(item).rstrip() for item in annotations] + annotations_string = "\n".join(annotations_list) if "annotations" not in new_chart_metadata: new_chart_metadata["annotations"] = CommentedMap()