From d1799da200782fb5f3b09bee58cf00092e5a05f0 Mon Sep 17 00:00:00 2001 From: Sofie Van Landeghem Date: Mon, 8 Jun 2020 19:47:32 +0200 Subject: [PATCH] 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 ? --- .github/workflows/issue-manager.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/issue-manager.yml diff --git a/.github/workflows/issue-manager.yml b/.github/workflows/issue-manager.yml new file mode 100644 index 000000000..8a5c1ee94 --- /dev/null +++ b/.github/workflows/issue-manager.yml @@ -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 + } + }