From 44860f2ea73b35a15aae7325968ce44b63f551a7 Mon Sep 17 00:00:00 2001 From: mhmdanas Date: Thu, 19 Aug 2021 00:46:31 +0300 Subject: [PATCH 1/2] Add no-response workflow --- .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..83b17ccc5 --- /dev/null +++ b/.github/workflows/no-response.yml @@ -0,0 +1,20 @@ +name: No Response + +# Both `issue_comment` and `scheduled` event types are required for this Action +# to work properly. +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 }} + daysUntilClose: 14 + responseRequiredLabel: waiting-for-author From 71610a365f8e68ce6fa13557b3df7d68e6084d3e Mon Sep 17 00:00:00 2001 From: Mohammed Anas Date: Thu, 19 Aug 2021 21:08:23 +0000 Subject: [PATCH 2/2] Make workflow run daily instead of hourly --- .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 83b17ccc5..54e749dc0 100644 --- a/.github/workflows/no-response.yml +++ b/.github/workflows/no-response.yml @@ -6,8 +6,8 @@ on: issue_comment: types: [created] schedule: - # Schedule for five minutes after the hour, every hour - - cron: '5 * * * *' + # Run daily at midnight. + - cron: '0 0 * * *' jobs: noResponse: