Update update-topics.yaml
This commit is contained in:
parent
cb2d5efa4e
commit
4c9baa60ec
1 changed files with 5 additions and 0 deletions
5
.github/workflows/update-topics.yaml
vendored
5
.github/workflows/update-topics.yaml
vendored
|
@ -55,6 +55,11 @@ jobs:
|
|||
console.log(roomId, "nothing to do");
|
||||
return;
|
||||
}
|
||||
if (data["org.matrix.msc3765.topic"]) {
|
||||
data["org.matrix.msc3765.topic"].forEach(d => {
|
||||
data.body = data.body.replace(regex, RELEASE_TOPIC);
|
||||
});
|
||||
}
|
||||
|
||||
res = await fetch(apiUrl, {
|
||||
method: "PUT",
|
||||
|
|
Loading…
Reference in a new issue