Skip to content

Close inactive issues #619

Close inactive issues

Close inactive issues #619

name: Close inactive issues
# Both `issue_comment` and `scheduled` event types are required for this Action
# to work properly.
on:
issue_comment:
types: [created]
schedule:
# Schedule for five minutes after the midnight, every day
- cron: "5 0 * * *"
workflow_dispatch: # Allows for manual triggering if needed
permissions:
issues: write
jobs:
noResponse:
runs-on: ubuntu-latest
steps:
- uses: lee-dohm/no-response@9bb0a4b5e6a45046f00353d5de7d90fb8bd773bb
with:
token: ${{ github.token }}
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
closeComment: >
Without additional information we're not able to resolve this issue,
so it will be closed at this time. You're still free to add more info
and respond to any questions above, though. We'll reopen the case
if you do. Thanks for your contribution!
# Number of days of inactivity before an issue is closed for lack of response.
daysUntilClose: 14
# Label requiring a response.
responseRequiredLabel: "waiting for customer response"