bot for answered issues (#5563)

* add tiangolo's issue manager

* fix formatting

* spaces, tabs, who knows

* formatting

* I'll get this right at some point

* maybe one more space ?
This commit is contained in:
Sofie Van Landeghem 2020-06-08 19:47:32 +02:00 committed by GitHub
parent 3bf111585d
commit d1799da200
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

28
.github/workflows/issue-manager.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: Issue Manager
on:
schedule:
- cron: "0 0 * * *"
issue_comment:
types:
- created
- edited
issues:
types:
- labeled
jobs:
issue-manager:
runs-on: ubuntu-latest
steps:
- uses: tiangolo/issue-manager@0.2.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
config: >
{
"answered": {
"delay": "P3D",
"message": "This issue has been automatically closed because it was answered and there was no follow-up discussion.",
"remove_label": true
}
}