From fb5b6aee31be27d6fee8c7d01121a8fbcc39c453 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Laban?= Date: Mon, 4 Nov 2024 13:42:29 -0500 Subject: [PATCH] chore: Move no-response to actions --- .github/no-response.yml | 11 ----------- .github/workflows/no-response.yml | 22 ++++++++++++++++++++++ 2 files changed, 22 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 9087a23b4798..000000000000 --- a/.github/no-response.yml +++ /dev/null @@ -1,11 +0,0 @@ -# Configuration for probot-no-response - https://github.com/probot/no-response - -# Number of days of inactivity before an Issue is closed for lack of response -daysUntilClose: 20 - -# Label requiring a response -responseRequiredLabel: triage/needs-information - -# 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. We don't monitor discussions on closed issues thus please open a new GitHub issue if you need the team to revisit this matter. diff --git a/.github/workflows/no-response.yml b/.github/workflows/no-response.yml new file mode 100644 index 000000000000..d5491846c53f --- /dev/null +++ b/.github/workflows/no-response.yml @@ -0,0 +1,22 @@ +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 5 minutes past the hour, every 6 hours + - cron: '5 */6 * * *' + +jobs: + noResponse: + runs-on: ubuntu-latest + steps: + - uses: lee-dohm/no-response@9bb0a4b5e6a45046f00353d5de7d90fb8bd773bb # 0.5.0 + with: + token: ${{ github.token }} + daysUntilClose: 20 + responseRequiredLabel: triage/needs-information + 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. We don't monitor discussions on closed issues thus please open a new GitHub issue if you need the team to revisit this matter.