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

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

View File

@ -16,7 +16,7 @@ jobs:
const issue = context.payload.issue
const body = issue.body?.toLowerCase() || ""
const spamKeywords = ["pls fix", "help me", "urgent", "asap", "???", "wtf"]
const spamKeywords = ["pls fix", "help me", "urgent", "asap", "???", "wtf"] // add more keywords here if needed in the futrue
const isSpam = spamKeywords.some(k => body.includes(k))
if (isSpam) {