From e9922ee84f10b77d0f9f0dc8f2e405479c9cf5fe Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 24 Jun 2025 15:38:06 +0100 Subject: [PATCH] Support m.topic in topic update script (#30192) --- .github/workflows/update-topics.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/update-topics.yaml b/.github/workflows/update-topics.yaml index 745980b45a..7bf751384d 100644 --- a/.github/workflows/update-topics.yaml +++ b/.github/workflows/update-topics.yaml @@ -81,6 +81,11 @@ jobs: d.body = d.body.replace(regex, releaseTopic); }); } + if (data["m.topic"]) { + data["m.topic"].forEach(d => { + d.body = d.body.replace(regex, releaseTopic); + }); + } res = await fetch(apiUrl, { method: "PUT",