From 862bd391607d591a2eea0c1100bc2a097805d202 Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 28 Apr 2021 12:35:30 +0200 Subject: [PATCH] Add issue manager workflow --- .github/workflows/issue-manager.yml | 36 +++++++++++++++++++++++++++++ 1 file changed, 36 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 00000000..c9264ba6 --- /dev/null +++ b/.github/workflows/issue-manager.yml @@ -0,0 +1,36 @@ +name: Issue Manager + +on: + schedule: + - cron: "30 10 * * 1" # run at 10:30 every Monday + # We only use the issue manager for auto-closing, so we only need the cron trigger. + # issue_comment: + # types: + # - created + # - edited + # issues: + # types: + # - labeled + +jobs: + issue-manager: + runs-on: ubuntu-latest + steps: + - uses: tiangolo/issue-manager@0.3.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + config: > + { + "waiting for input": { + "delay": "P1M", + "message": "Auto-closing this issue after waiting for input for a month. If anyone finds the time to provide the requested information, please re-open the issue and we will continue handling it.", + "remove_label_on_comment": true, + "remove_label_on_close": false + }, + "waiting for fix confirmation": { + "delay": "P1M", + "message": "Auto-closing this issue after waiting for a fix confirmation for a month. If anyone still experiences this issue, please re-open the issue with updated information so we can continue working on a fix.", + "remove_label_on_comment": true, + "remove_label_on_close": false + } + }