Skip to content

Commit

Permalink
[ci] use lee-dohm/no-response to close stale issues (fixes #5060) (#5120
Browse files Browse the repository at this point in the history
)

* [ci] use lee-dohm/no-response to close stale issues (fixes #5060)

* only run once a day
  • Loading branch information
jameslamb committed Apr 6, 2022
1 parent 9e2586e commit 3fd2913
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 day at 04:00 UTC"
- cron: '0 4 * * *'

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 3fd2913

Please sign in to comment.