From 8b783a393313aa53d10730ade9af1f6c0f98c07b Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 17 Nov 2026 20:00:39 -0800 Subject: [PATCH] release notes: split a PR's changed files by line, not by space Co-Authored-By: Claude Opus 5.5 --- .github/scripts/release_notes_by_component.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/release_notes_by_component.py b/.github/scripts/release_notes_by_component.py index d9bb6093f9..e86964f5a3 100644 --- a/.github/scripts/release_notes_by_component.py +++ b/.github/scripts/release_notes_by_component.py @@ -274,7 +274,7 @@ def main(): print("warning: files of #%d: %s" % (num, e.stderr.strip()), file=sys.stderr) failed.append(num) return [] - return out.split() + return out.splitlines() try: notes = regroup(body, pr_files)