Skip to content

Commit

Permalink
bot for answered issues (#5563)
Browse files Browse the repository at this point in the history
* add tiangolo's issue manager

* fix formatting

* spaces, tabs, who knows

* formatting

* I'll get this right at some point

* maybe one more space ?
  • Loading branch information
svlandeg committed Jun 8, 2020
1 parent 3bf1115 commit d1799da
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/issue-manager.yml
Original file line number Diff line number Diff line change
@@ -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
}
}

0 comments on commit d1799da

Please sign in to comment.