Manualbiome (#11216)

This commit is contained in:
Kashargul
2025-07-21 22:37:45 +02:00
committed by GitHub
parent afa0b4bfdb
commit f39fdae47c
280 changed files with 18208 additions and 17558 deletions

View File

@@ -19,14 +19,14 @@ export async function removeGuideComments({ github, context }) {
let newBody = context.payload.pull_request.body;
if (!newBody) {
console.log("PR body is empty, skipping...");
return;
console.log("PR body is empty, skipping...");
return;
}
for (const comment of comments) {
newBody = newBody.replace(
new RegExp(`^\\s*${escapeRegex(comment)}\\s*`, "gm"),
"\n"
"\n",
);
}