From 5a36207a4d92993e7c346b494b910df77f0ed05b Mon Sep 17 00:00:00 2001 From: Merel Theisen Date: Thu, 7 Nov 2024 15:42:03 +0100 Subject: [PATCH 1/3] Add wizard gh action to remove label or close info needed issues Signed-off-by: Merel Theisen --- .github/workflows/no-response.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/no-response.yml diff --git a/.github/workflows/no-response.yml b/.github/workflows/no-response.yml new file mode 100644 index 000000000..387626af6 --- /dev/null +++ b/.github/workflows/no-response.yml @@ -0,0 +1,20 @@ +name: No Response + +on: + issue_comment: + types: [created] + schedule: + # Schedule for five minutes after the hour, every hour + - cron: '5 * * * *' + +jobs: + noResponse: + runs-on: ubuntu-latest + steps: + - uses: lee-dohm/no-response@v0.5.0 + with: + token: ${{ github.token }} + responseRequiredLabel: "support: needs more info" + daysUntilClose: 28 + closeComment: >- + This issue has been closed due to lack of information. Feel free to re-open this issue if you're facing a similar problem. Please provide as much information as possible so we can help resolve your issue. From f01e89020d684d5820157d8d8599663ffce5b85d Mon Sep 17 00:00:00 2001 From: Merel Theisen Date: Thu, 7 Nov 2024 16:03:31 +0100 Subject: [PATCH 2/3] Update token Signed-off-by: Merel Theisen --- .github/workflows/no-response.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/no-response.yml b/.github/workflows/no-response.yml index 387626af6..325114e39 100644 --- a/.github/workflows/no-response.yml +++ b/.github/workflows/no-response.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: lee-dohm/no-response@v0.5.0 with: - token: ${{ github.token }} + token: ${{ secrets.GITHUB_TOKEN }} responseRequiredLabel: "support: needs more info" daysUntilClose: 28 closeComment: >- From e2ca9a7e45daa887e88db02161f1e53bd3289994 Mon Sep 17 00:00:00 2001 From: Merel Theisen Date: Thu, 7 Nov 2024 17:47:15 +0100 Subject: [PATCH 3/3] Update job to run only once a day Signed-off-by: Merel Theisen --- .github/workflows/no-response.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/no-response.yml b/.github/workflows/no-response.yml index 325114e39..b11c9be73 100644 --- a/.github/workflows/no-response.yml +++ b/.github/workflows/no-response.yml @@ -4,8 +4,8 @@ on: issue_comment: types: [created] schedule: - # Schedule for five minutes after the hour, every hour - - cron: '5 * * * *' + # Run every day at 9am (UTC time) + - cron: '0 9 * * *' jobs: noResponse: