Skip to content

Commit

Permalink
Enable no-response bot to auto close inactive issues.
Browse files Browse the repository at this point in the history
Signed-off-by: Jinbo Wang <[email protected]>
  • Loading branch information
testforstephen authored Jan 23, 2024
1 parent bd61dc6 commit 9ab7039
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/no-response.yml
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.

0 comments on commit 9ab7039

Please sign in to comment.