Update update-topics.yaml

pull/26459/head
Michael Telatynski 2023-10-25 14:00:06 +01:00 committed by GitHub
parent 54820501f3
commit 875657eb45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -62,6 +62,11 @@ jobs:
headers,
});
if (!res.ok) {
console.log(roomId, "failed to fetch", await res.text());
return;
}
const data = await res.json();
const topic = data.topic.replace(regex, releaseTopic);
if (topic === data.topic) {