No Response #24882
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
# https://github.com/lee-dohm/no-response | |
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 * * * *' | |
# Grant permission to write on "issues" | |
# By specifying the access of one of the scopes, all of those that are not | |
# specified are set to 'none'. | |
permissions: | |
issues: write | |
jobs: | |
noResponse: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: lee-dohm/[email protected] | |
with: | |
token: ${{ github.token }} | |
daysUntilClose: 7 # Number of days of inactivity before an Issue is closed for lack of response | |
responseRequiredLabel: closing-soon-if-no-response # Label requiring a response | |
closeComment: > | |
This issue has been automatically closed because there has been no response | |
to our request for more information from the original author. With only the | |
information that is currently in the issue, we don't have enough information | |
to take action. Please reach out if you have or find the answers we need so | |
that we can investigate further. |