meant to be used automation

This commit is contained in:
Ciro Santilli
2021-07-12 09:47:20 +01:00
parent 45b99fac87
commit 372645612e
2 changed files with 12 additions and 1 deletions

View File

@@ -115,6 +115,16 @@ if (!isComment) {
break;
}
}
const meantToBeUsedWords = [
'技术',
]
for (const word of meantToBeUsedWords) {
if (new RegExp(word, 'i').test(titleAndBody)) {
newLabels.add('meant-to-be-used');
break;
}
}
技术网站
const shitpostWords = [
'fuck',
'shit',