stale.yml 732 B

12345678910111213141516171819202122232425
  1. # This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
  2. #
  3. # You can adjust the behavior by modifying this file.
  4. # For more information, see:
  5. # https://github.com/actions/stale
  6. name: 'Close stale issues and PRs'
  7. on:
  8. schedule:
  9. - cron: '*/5 * * * *'
  10. jobs:
  11. stale:
  12. runs-on: ubuntu-latest
  13. permissions:
  14. issues: write
  15. pull-requests: read
  16. steps:
  17. - uses: actions/stale@v8
  18. with:
  19. stale-issue-message: 'This issue is stale because it has been open 100 days with no activity. Remove stale label or comment or this will be closed in 1 days.'
  20. days-before-stale: 100
  21. days-before-close: 1
  22. debug-only: true