Skip to content

Commit 9ab7039

Browse files
Enable no-response bot to auto close inactive issues.
Signed-off-by: Jinbo Wang <[email protected]>
1 parent bd61dc6 commit 9ab7039

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/no-response.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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+
6+
on:
7+
issue_comment:
8+
types: [created]
9+
schedule:
10+
- cron: '0 10 * * *'
11+
12+
jobs:
13+
noResponse:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: lee-dohm/no-response@9bb0a4b5e6a45046f00353d5de7d90fb8bd773bb #v0.5.0
17+
with:
18+
token: ${{ github.token }}
19+
daysUntilClose: 30 # Number of days of inactivity before an Issue is closed for lack of response
20+
responseRequiredLabel: "need info" # Label indicating that a response from the original author is required
21+
closeComment: >
22+
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)