2020-05-17 20:09:58 +00:00
|
|
|
name: Issue closer
|
2021-02-12 23:36:10 +00:00
|
|
|
|
2020-10-03 17:03:36 +00:00
|
|
|
on:
|
|
|
|
issues:
|
|
|
|
types: [opened, edited, reopened]
|
2021-02-12 23:36:10 +00:00
|
|
|
|
2020-05-17 20:09:58 +00:00
|
|
|
jobs:
|
|
|
|
autoclose:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2020-11-11 20:52:12 +00:00
|
|
|
- name: Autoclose issues
|
2021-05-19 12:42:54 +00:00
|
|
|
uses: arkon/issue-closer-action@v3.4
|
2020-08-29 02:23:30 +00:00
|
|
|
with:
|
2020-10-03 17:03:36 +00:00
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
2021-05-19 12:42:54 +00:00
|
|
|
ignoreLabel: do-not-autoclose
|
2020-11-11 20:52:12 +00:00
|
|
|
rules: |
|
2021-05-19 12:42:54 +00:00
|
|
|
[
|
2021-06-26 02:48:19 +00:00
|
|
|
{
|
|
|
|
"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."
|
|
|
|
},
|
2020-11-11 20:52:12 +00:00
|
|
|
{
|
|
|
|
"type": "title",
|
2021-06-25 12:45:43 +00:00
|
|
|
"regex": ".*(Source name|Short description).*",
|
2020-11-11 20:52:12 +00:00
|
|
|
"message": "You did not fill out the description in the title"
|
|
|
|
},
|
2021-05-18 12:36:41 +00:00
|
|
|
{
|
|
|
|
"type": "both",
|
2021-10-18 09:14:27 +00:00
|
|
|
"regex": ".*(mangago|mangafox|hq\\s*dragon|manga\\s*host|supermangas|superhentais|union\\s*mangas|yes\\s*mangas|manhuascan|heroscan|manhwahot|leitor\\.?net|manga\\s*livre|tsuki\\s*mangas|manga\\s*yabu|mangas\\.in|mangas\\.pw).*",
|
2021-05-20 21:20:56 +00:00
|
|
|
"ignoreCase": true,
|
2021-05-18 12:36:41 +00:00
|
|
|
"message": "{match} will not be added back as it is too difficult to maintain. Read #3475 for more information"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "both",
|
2021-11-26 14:01:24 +00:00
|
|
|
"regex": ".*(teamx|tqneplus|manga\\s*disk|komiktap|gourmet\\s*scans|manga\\s*crimson|mangawow|voidscans|hikari\\s*scans|mangagegecesi|piedpiperfb|knightnoscanlations|ahstudios|mangagecesi|nartag|xxx\\s*yaoi|yaoi\\s*fan\\s*clube).*",
|
2021-05-20 21:20:56 +00:00
|
|
|
"ignoreCase": true,
|
2021-05-18 12:36:41 +00:00
|
|
|
"message": "{match} will not be added back as the Scanlator team has requested it to be removed. Read #3475 for more information"
|
2020-11-11 20:52:12 +00:00
|
|
|
}
|
|
|
|
]
|