From 3c377b088dc15a71f10c22f2d1b731009476c950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Sat, 6 Jun 2020 14:29:34 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Update=20issue-manager=20(#114)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../workflows/{main.yml => issue-manager.yml} | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) rename .github/workflows/{main.yml => issue-manager.yml} (54%) diff --git a/.github/workflows/main.yml b/.github/workflows/issue-manager.yml similarity index 54% rename from .github/workflows/main.yml rename to .github/workflows/issue-manager.yml index 0e9450c..7b074fd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/issue-manager.yml @@ -1,19 +1,26 @@ +name: Issue Manager + on: schedule: - - cron: "0 0 * * *" + - cron: "0 0 * * *" + issue_comment: + types: + - created + - edited + issues: + types: + - labeled jobs: issue-manager: runs-on: ubuntu-latest steps: - - uses: tiangolo/issue-manager@master - with: - token: ${{ secrets.GITHUB_TOKEN }} - config: > + - uses: tiangolo/issue-manager@0.2.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + config: > { "answered": { - "users": ["tiangolo"], - "delay": 864000, "message": "Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues." } }