From 23378e4661c584c4ac8df7b610f2000c00754182 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Mon, 6 Sep 2021 22:18:45 +0400 Subject: [PATCH] Migrate to no-response action since github app is archived --- .github/no-response.yml | 11 ----------- .github/workflows/no-response.yml | 28 ++++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 11 deletions(-) delete mode 100644 .github/no-response.yml create mode 100644 .github/workflows/no-response.yml diff --git a/.github/no-response.yml b/.github/no-response.yml deleted file mode 100644 index 2c2b9cdbd3..0000000000 --- a/.github/no-response.yml +++ /dev/null @@ -1,11 +0,0 @@ -# Number of days of inactivity before an Issue is closed for lack of response -daysUntilClose: 30 -# Label requiring a response -responseRequiredLabel: waiting for answer -# Comment to post when closing an Issue for lack of response. Set to `false` to disable -closeComment: > - This issue has been automatically closed because there has been no response - to our request for more information from the original author. With only the - information that is currently in the issue, we don't have enough information - to take action. Please reach out if you have or find the answers we need so - that we can investigate further. diff --git a/.github/workflows/no-response.yml b/.github/workflows/no-response.yml new file mode 100644 index 0000000000..4b201b4537 --- /dev/null +++ b/.github/workflows/no-response.yml @@ -0,0 +1,28 @@ +name: No Response + +# Both `issue_comment` and `scheduled` event types are required for this Action +# to work properly. +on: + issue_comment: + types: [created] + schedule: + - cron: '0 0 * * *' + +jobs: + noResponse: + runs-on: ubuntu-latest + steps: + - uses: lee-dohm/no-response@v0.5.0 + with: + token: ${{ github.token }} + # Number of days of inactivity before an Issue is closed for lack of response + daysUntilClose: 30 + # Label requiring a response + responseRequiredLabel: waiting for answer + # Comment to post when closing an Issue for lack of response. Set to `false` to disable + closeComment: > + This issue has been automatically closed because there has been no response + to our request for more information from the original author. With only the + information that is currently in the issue, we don't have enough information + to take action. Please reach out if you have or find the answers we need so + that we can investigate further.