no-response.yml 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. name: No Response
  2. # Both `issue_comment` and `scheduled` event types are required for this Action
  3. # to work properly.
  4. on:
  5. issue_comment:
  6. types: [created]
  7. schedule:
  8. # Schedule for ten minutes after the hour, every hour
  9. - cron: '10 * * * *'
  10. # By specifying the access of one of the scopes, all of those that are not
  11. # specified are set to 'none'.
  12. permissions:
  13. issues: write
  14. jobs:
  15. noResponse:
  16. runs-on: ubuntu-latest
  17. steps:
  18. - uses: lee-dohm/no-response@v0.5.0
  19. with:
  20. token: ${{ github.token }}
  21. daysUntilClose: 14
  22. responseRequiredLabel: 'Status: Needs Info'
  23. closeComment: >
  24. This issue has been automatically closed because there has been no response
  25. to our request for more information from the original author. With only the
  26. information that is currently in the issue, we don't have enough information
  27. to take action. Please reach out if you have or find the answers we need so
  28. that we can investigate further.