fix(pulls): make it possible to merge / delete source branch
+ 6
- 1
app/services/gitServer/onPushEvent.ts
@@ -9,7 +9,12 @@ import { getEnv } from "../../utils/server";
 
 const toAscii = (str: string) => {
   // replace emoji with nothing
-  return str.replace(/[\u{1F600}-\u{1F64F}]/gu, "");
+  return str
+    .replace(/[\u{1F600}-\u{1F64F}]/gu, "")
+    .replace(
+      /[\p{Emoji_Presentation}\p{Extended_Pictographic}\p{Emoji}\uFE0F]/gu,
+      "",
+    );
 };
 
 const makeOnPushEvent: ServiceMethodFactory<