Skip to content

Commit e9922ee

Browse files
authored
Support m.topic in topic update script (#30192)
1 parent 53eff06 commit e9922ee

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/update-topics.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ jobs:
8181
d.body = d.body.replace(regex, releaseTopic);
8282
});
8383
}
84+
if (data["m.topic"]) {
85+
data["m.topic"].forEach(d => {
86+
d.body = d.body.replace(regex, releaseTopic);
87+
});
88+
}
8489
8590
res = await fetch(apiUrl, {
8691
method: "PUT",

0 commit comments

Comments
 (0)