From cd5a02fbe27b34fe51b1143c8f8afb48ca13c576 Mon Sep 17 00:00:00 2001 From: Mitchell Hentges Date: Thu, 17 Feb 2022 11:37:50 -0500 Subject: [PATCH] Automatically remove "awaiting response" label on-comment Also will close tickets that have been "awaiting response" for over 15 days. --- .github/workflows/awaiting-response.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/awaiting-response.yml diff --git a/.github/workflows/awaiting-response.yml b/.github/workflows/awaiting-response.yml new file mode 100644 index 000000000..48fcd31f0 --- /dev/null +++ b/.github/workflows/awaiting-response.yml @@ -0,0 +1,19 @@ +name: awaiting response +on: + issue_comment: + types: [created] + schedule: + - cron: '5 * * * *' +jobs: + noResponse: + runs-on: ubuntu-latest + steps: + - uses: lee-dohm/no-response@v0.5.0 + with: + closeComment: > + This issue has been automatically closed because it has been blocked for too + long on a response that wasn't provided. Of course, if the needed response + is provided later, re-open this ticket so that we can progress it further. :) + responseRequiredLabel: awaiting response + responseRequiredColor: d4c5f9 + token: ${{ github.token }}