Tachiyomi-Extensions/.github/workflows/issue_moderator.yml

58 lines
2.9 KiB
YAML
Raw Normal View History

name: Issue moderator
on:
issues:
2022-02-27 19:47:48 +00:00
types: [opened, edited, reopened]
issue_comment:
types: [created]
jobs:
autoclose:
runs-on: ubuntu-latest
steps:
- name: Moderate issues
uses: tachiyomiorg/issue-moderator-action@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
duplicate-check-enabled: true
duplicate-check-label: Source request
existing-check-enabled: true
existing-check-label: Source request
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).*",
"message": "You did not fill out the description in the title."
2022-02-27 19:47:48 +00:00
},
{
"type": "both",
"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\\+?|cocomanga|hitomi\\.la|copymanga|neox|1manga\\.co|mangafox\\.fun|mangahere\\.onl|mangakakalot\\.fun|manganel(?!o)|mangaonline\\.fun|mangatoday|manga\\.town|onemanga\\.info|koushoku).*",
2022-02-27 19:47:48 +00:00
"ignoreCase": true,
"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-01-14 14:46:19 +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|manhwaid\\.org|hunters\\s*scan|reset(?:\\s*|-)scan|manga-flix\\.com|astra\\s*scans|manganoon|manga(?:-|\\s*)pro|coven\\s*scans?|shinobiscans|plot ?twist ?no ?fansub(?: ?scans?)?|plot-twistnf-scans(?:\\.com)?|manga\\s*swat).*",
2022-02-27 19:47:48 +00:00
"ignoreCase": true,
"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",
"regex": ".*(?:failed|can\\s*(?:no|')?t|unable|get past|blocked by) (?:to )?(?:bypass|penetrate)?\\s*cloudfl?are.*",
2022-11-17 14:29:59 +00:00
"ignoreCase": true,
"message": "Refer to the **Solving Cloudflare issues** section at https://tachiyomi.org/help/guides/troubleshooting/#solving-cloudflare-issues"
2022-02-27 19:47:48 +00:00
}
]
auto-close-ignore-label: do-not-autoclose