mirror of
https://git.datalinker.icu/deepseek-ai/DeepSeek-V3.git
synced 2025-12-14 07:14:27 +08:00
(feat) added a simple workflows to prevent github issue spam #1004
This commit is contained in:
parent
c680f674f2
commit
f1db6e76e0
1
.github/workflows/issue-handler.yml
vendored
1
.github/workflows/issue-handler.yml
vendored
@ -16,7 +16,6 @@ jobs:
|
|||||||
const issue = context.payload.issue
|
const issue = context.payload.issue
|
||||||
const body = issue.body?.toLowerCase() || ""
|
const body = issue.body?.toLowerCase() || ""
|
||||||
|
|
||||||
// Rules
|
|
||||||
const spamKeywords = ["pls fix", "help me", "urgent", "asap", "???", "wtf"]
|
const spamKeywords = ["pls fix", "help me", "urgent", "asap", "???", "wtf"]
|
||||||
const isSpam = spamKeywords.some(k => body.includes(k))
|
const isSpam = spamKeywords.some(k => body.includes(k))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user