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-03-07 15:42:48 +00:00
|
|
|
uses: arkon/issue-closer-action@v3.0
|
2020-08-29 02:23:30 +00:00
|
|
|
with:
|
2020-10-03 17:03:36 +00:00
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
2020-11-11 20:52:12 +00:00
|
|
|
rules: |
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"type": "title",
|
|
|
|
"regex": ".*<(Source Name|short description)>*",
|
|
|
|
"message": "You did not fill out the description in the title"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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|Name|Link|Extension version): \\?.*",
|
|
|
|
"message": "The requested information was not filled out"
|
|
|
|
}
|
|
|
|
]
|