From 031f4efbd023868d468a8331e049ab25de6bb3b5 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Mon, 6 Dec 2021 11:58:02 +0000 Subject: [PATCH] Simplify config for issue-manager.yml --- .github/workflows/issue-manager.yml | 46 +++++------------------------ 1 file changed, 8 insertions(+), 38 deletions(-) diff --git a/.github/workflows/issue-manager.yml b/.github/workflows/issue-manager.yml index 7a0e8a54..8ae6cafa 100644 --- a/.github/workflows/issue-manager.yml +++ b/.github/workflows/issue-manager.yml @@ -1,21 +1,12 @@ -# Automatically close issues that have a keyword mark (an HTML comment) -# in the last comment in the issue, by a group of predefined users, after a custom delay. +# Automatically close issues or pull requests that have a label, after a custom delay, if no one replies. # https://github.com/tiangolo/issue-manager -# Default config: -# -# Wait 10 days and comment: "Assuming the original issue was solved, it will be automatically closed now" - -# Extra config: -# '' -# Wait 10 days and comment: "Automatically closing. To re-open, please provide the additional information requested" - name: Issue Manager on: - # Every day at midnight + # Every day schedule: - - cron: "0 0 * * *" + - cron: "12 0 * * *" # Manual trigger workflow_dispatch: @@ -30,33 +21,12 @@ jobs: config: > { "answered": { - "delay": 864000, - "message": "Assuming the original issue was solved, it will be automatically closed now.", - "users": [ - "pydanny", - "audreyr", - "luzfcb", - "theskumar", - "jayfk", - "burhan", - "webyneter", - "browniebroke", - "sfdye" - ] + "message": "Assuming the question was answered, this will be automatically closed now." + }, + "solved": { + "message": "Assuming the original issue was solved, it will be automatically closed now." }, "waiting": { - "delay": 864000, - "message": "Automatically closing. To re-open, please provide the additional information requested.", - "users": [ - "pydanny", - "audreyr", - "luzfcb", - "theskumar", - "jayfk", - "burhan", - "webyneter", - "browniebroke", - "sfdye" - ] + "message": "Automatically closing after waiting for additional info. To re-open, please provide the additional information requested." } }