From 50bc0264a47727eee3d4c37cc41cf85c4b4d914d 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 | 20 ++++++++++++++++++++ 1 file changed, 20 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 0000000000..4bc125858a --- /dev/null +++ b/.github/workflows/awaiting-response.yml @@ -0,0 +1,20 @@ +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 has been automatically closed because this is blocked on a response, + but one hasn't bee provided yet. Of course, if the needed response is + provided later, then re-open this ticket so that we can progress it + further :) + responseRequiredLabel: awaiting response + responseRequiredColor: d4c5f9 + token: ${{ github.token }}