2021-05-21 23:39:52 +00:00
name : Issue moderator
on :
2022-02-03 21:03:11 +00:00
issues :
2022-02-27 19:47:48 +00:00
types : [ opened, edited, reopened]
2021-05-21 23:39:52 +00:00
issue_comment :
types : [ created]
jobs :
autoclose :
runs-on : ubuntu-latest
steps :
- name : Moderate issues
2023-04-02 18:26:15 +00:00
uses : tachiyomiorg/issue-moderator-action@v2
2021-05-21 23:39:52 +00:00
with :
repo-token : ${{ secrets.GITHUB_TOKEN }}
2023-04-02 18:26:15 +00:00
duplicate-label : Duplicate
2023-03-25 14:38:50 +00:00
2022-02-03 14:04:57 +00:00
duplicate-check-enabled : true
2023-03-25 14:38:50 +00:00
duplicate-check-labels : |
[ "Source request" , "Domain changed" ]
2022-08-08 13:25:43 +00:00
existing-check-enabled : true
2023-03-25 14:38:50 +00:00
existing-check-labels : |
[ "Source request" , "Domain changed" ]
2022-02-27 19:47:48 +00:00
auto-close-rules : |
[
{
"type": "body" ,
"regex": ".*DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT.*" ,
"message": "The acknowledgment section was not removed."
},
{
"type": "body" ,
"regex": ".*\\* (Tachiyomi version|Android version|Device): \\?.*" ,
"message": "Requested information in the template was not filled out."
},
{
"type": "title" ,
"regex": ".*(Source name|Short description).*" ,
2022-11-20 16:07:55 +00:00
"message": "You did not fill out the description in the title."
2022-02-27 19:47:48 +00:00
},
{
"type": "both" ,
2023-03-21 13:27:25 +00:00
"regex": ".*(hq\\s*dragon|manga\\s*host|supermangas|superhentais|union\\s*mangas|yes\\s*mangas|manhuascan|manhwahot|leitor\\.?net|manga\\s*livre|tsuki\\s*mangas|manga\\s*yabu|mangas\\.in|mangas\\.pw|hentaikai|toptoon\\+?|colamanhua|mangadig|hitomi\\.la|copymanga|neox|1manga\\.co|mangafox\\.fun|mangahere\\.onl|mangakakalot\\.fun|manganel(?!o)|mangaonline\\.fun|mangatoday|manga\\.town|onemanga\\.info|koushoku|ksk\\.moe|comikey).*" ,
2022-02-27 19:47:48 +00:00
"ignoreCase": true ,
2022-11-20 16:07:55 +00:00
"message": "{match} will not be added back as it is too difficult to maintain. Read #3475 for more information."
2022-02-27 19:47:48 +00:00
},
{
"type": "both" ,
2023-04-06 12:51:06 +00:00
"regex": ".*(komiktap|gourmet\\s*scans|mangawow|hikari\\s*scans|mangagegecesi|knightnoscanlations|ahstudios|mangagecesi|nartag|xxx\\s*yaoi|yaoi\\s*fan\\s*clube|luminous|dragontea|hunters\\s*scan|reset(?:\\s*|-)scan|astra\\s*scans|manganoon|manga(?:-|\\s*)pro|coven\\s*scans?|shinobiscans|plot ?twist ?no ?fansub(?: ?scans?)?|plot-twistnf-scans(?:\\.com)?|mhscans|aresmanga).*" ,
2022-02-27 19:47:48 +00:00
"ignoreCase": true ,
2022-11-20 16:07:55 +00:00
"message": "{match} will not be added back as the scanlator team has requested it to be removed. Read #3475 for more information."
2022-11-17 14:29:59 +00:00
},
{
2022-11-17 14:31:22 +00:00
"type": "both" ,
2023-04-06 12:51:06 +00:00
"regex": ".*(?:fail(?:ed|ure|s)?|can\\s*(?:no|')?t|(?:not|un).*able|(?<!n[o']?t )blocked by|error) (?:to )?(?:get past|by ?pass|penetrate)?.*cloud ?fl?are.*" ,
2022-11-17 14:29:59 +00:00
"ignoreCase": true ,
2023-04-06 12:51:06 +00:00
"labels": [ "Cloudflare protected" ] ,
2023-01-20 14:57:36 +00:00
"message": "Refer to the **Solving Cloudflare issues** section at https://tachiyomi.org/help/guides/troubleshooting/#solving-cloudflare-issues. If it doesn't work, migrate to other sources or wait until they lower their protection."
2022-02-27 19:47:48 +00:00
}
]
auto-close-ignore-label : do-not-autoclose