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

@@ -1693,7 +1693,8 @@ See also:
Duplicate pool: https://github.com/cirosantilli/china-dictatorship/issues?q=label%3Ayou-are-not-chinese-argument
==== The CCP would not be in power if it weren't for the Second Sino-Japanese War
[[the-ccp-would-not-be-in-power-if-it-werent-for-the-second-sino-japanese-war]]
==== The CCP would not be in power if it weren't for the Second Sino-Japanese War (如果没有抗日战争,中共就不会执政)
TODO study further to confirm:

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',