Skip to content

Commit 3276517

Browse files
authored
Merge pull request #18608 from github/add-no-response-workflow
Add No Response workflow
2 parents deb617b + d4602af commit 3276517

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

.github/allowed-actions.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ module.exports = [
2727
"juliangruber/find-pull-request-action@2fc55e82a6d5d36fe1e7f1848f7e64fd02d99de9",
2828
"juliangruber/read-file-action@e0a316da496006ffd19142f0fd594a1783f3b512",
2929
"lee-dohm/close-matching-issues@22002609b2555fe18f52b8e2e7c07cbf5529e8a8",
30+
"lee-dohm/no-response@9bb0a4b5e6a45046f00353d5de7d90fb8bd773bb",
3031
"pascalgn/automerge-action@c9bd1823770819dc8fb8a5db2d11a3a95fbe9b07", //pascalgn/automerge@0.12.0
3132
"peter-evans/create-issue-from-file@a04ce672e3acedb1f8e416b46716ddfd09905326",
3233
"peter-evans/create-or-update-comment@5221bf4aa615e5c6e95bb142f9673a9c791be2cd",

.github/workflows/no-response.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: No Response
2+
3+
# **What it does**: Closes issues that don't have enough information to be
4+
# actionable.
5+
# **Why we have it**: To remove the need for maintainers to remember to check
6+
# back on issues periodically to see if contributors have
7+
# responded.
8+
# **Who does it impact**: Everyone that works on docs or docs-internal.
9+
10+
on:
11+
issue_comment:
12+
types: created
13+
14+
schedule:
15+
# Schedule for five minutes after the hour every hour
16+
- cron: '5 * * * *'
17+
18+
jobs:
19+
noResponse:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: lee-dohm/no-response@9bb0a4b5e6a45046f00353d5de7d90fb8bd773bb
23+
with:
24+
token: ${{ github.token }}
25+
closeComment: >
26+
This issue has been automatically closed because there has been no response
27+
to our request for more information from the original author. With only the
28+
information that is currently in the issue, we don't have enough information
29+
to take action. Please reach out if you have or find the answers we need so
30+
that we can investigate further. See [this blog post on bug reports and the importance of repro steps](https://www.lee-dohm.com/2015/01/04/writing-good-bug-reports/) for more information about the kind of information that may be helpful.

0 commit comments

Comments
 (0)