No Response #10857
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
name: No Response | |
# 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 hour, every hour | |
- cron: '5 * * * *' | |
permissions: {} | |
jobs: | |
noResponse: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
issues: write | |
steps: | |
- uses: lee-dohm/no-response@9bb0a4b5e6a45046f00353d5de7d90fb8bd773bb # v0.5.0 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
# Number of days of inactivity before an Issue is closed for lack of response | |
daysUntilClose: 7 | |
# Label requiring a response | |
responseRequiredLabel: 'status: waiting for follow-up' | |
# Comment to post when closing an Issue for lack of response. Set to `false` to disable | |
closeComment: > | |
The issue has been inactive for 7 days and has been automatically closed. | |
If you think that it has been incorrectly closed, please reopen it and provide missing information (if any) or continue the last discussion. |