Skip to content

Commit

Permalink
[ci] use lee-dohm/no-response to close stale issues (fixes #5060)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Apr 3, 2022
1 parent 7820746 commit cf93060
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/no-response.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/no-response.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: No Response Bot

on:
issue_comment:
types: [created]
schedule:
# "every 6 hours"
- cron: '0 */6 * * *'

jobs:
noResponse:
runs-on: ubuntu-latest
steps:
- uses: lee-dohm/no-response@v0.5.0
with:
closeComment: >
This issue has been automatically closed because it has been awaiting a response for too long.
When you have time to to work with the maintainers to resolve this issue, please post a new comment and it will be re-opened.
If the issue has been locked for editing by the time you return to it, please open a new issue and reference this one.
Thank you for taking the time to improve LightGBM!
daysUntilClose: 30
responseRequiredLabel: awaiting response
token: ${{ secrets.WORKFLOW }}

0 comments on commit cf93060

Please sign in to comment.