Skip to content

Commit 7cc165b

Browse files
authored
Create no-response.yml
1 parent 19a82ff commit 7cc165b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/no-response.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: No Response
2+
3+
# **What it does**: Closes issues where the original author doesn't respond to a request for information.
4+
# **Why we have it**: To remove the need for maintainers to remember to check back on issues periodically to see if contributors have responded.
5+
# **Who does it impact**: Everyone that works on docs or docs-internal.
6+
7+
on:
8+
issue_comment:
9+
types: [created]
10+
schedule:
11+
# Schedule for five minutes after the hour, every hour
12+
- cron: '0 0 * * *'
13+
14+
jobs:
15+
noResponse:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: lee-dohm/[email protected]
19+
with:
20+
token: ${{ github.token }}
21+
daysUntilClose: 14 # Number of days of inactivity before an Issue is closed for lack of response
22+
responseRequiredLabel: "needs more info" # Label indicating that a response from the original author is required
23+
closeComment: >
24+
This issue has been closed automatically because it needs more information and has not had recent activity. Please reach out if you have or find the answers we need so that we can investigate further.

0 commit comments

Comments
 (0)