-
Notifications
You must be signed in to change notification settings - Fork 448
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable no-response bot to auto close inactive issues.
Signed-off-by: Jinbo Wang <[email protected]>
- Loading branch information
1 parent
bd61dc6
commit 9ab7039
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: No Response | ||
|
||
# **What it does**: Closes issues where the original author doesn't respond to a request for information. | ||
# **Why we have it**: To remove the need for maintainers to remember to check back on issues periodically to see if contributors have responded. | ||
|
||
on: | ||
issue_comment: | ||
types: [created] | ||
schedule: | ||
- cron: '0 10 * * *' | ||
|
||
jobs: | ||
noResponse: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: lee-dohm/no-response@9bb0a4b5e6a45046f00353d5de7d90fb8bd773bb #v0.5.0 | ||
with: | ||
token: ${{ github.token }} | ||
daysUntilClose: 30 # Number of days of inactivity before an Issue is closed for lack of response | ||
responseRequiredLabel: "need info" # Label indicating that a response from the original author is required | ||
closeComment: > | ||
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. |