From 250b75c364ea2f71c7a5be886464dd3704f2918d Mon Sep 17 00:00:00 2001 From: Xintao Date: Wed, 18 Aug 2021 10:04:42 +0800 Subject: [PATCH] add no-response action workflow --- .github/workflows/no-response.yml | 34 +++++++++++++++++++++++++++++++ 1 file changed, 34 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 0000000..de76ce6 --- /dev/null +++ b/.github/workflows/no-response.yml @@ -0,0 +1,34 @@ +name: No Response + +# Modified from: https://raw.githubusercontent.com/github/docs/main/.github/workflows/no-response.yaml + +# **What it does**: Closes issues that don't have enough information to be +# actionable. +# **Why we have it**: To remove the need for maintainers to remember to check +# back on issues periodically to see if contributors have +# responded. +# **Who does it impact**: Everyone that works on docs or docs-internal. + +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 }} + 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. + If you still have questions, please improve your description and re-open it. + Thanks :-)