(feat) added a simple workflows to prevent github issue spam #1004

This commit is contained in:
🇨🇳钟智强 『江西青垣科技』 2025-10-12 15:37:38 +08:00
parent c680f674f2
commit f1db6e76e0

View File

@ -16,7 +16,6 @@ jobs:
const issue = context.payload.issue
const body = issue.body?.toLowerCase() || ""
// Rules
const spamKeywords = ["pls fix", "help me", "urgent", "asap", "???", "wtf"]
const isSpam = spamKeywords.some(k => body.includes(k))