stale.yml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. name: 'Manage stale issues'
  2. on:
  3. schedule:
  4. - cron: '0 0 * * *'
  5. jobs:
  6. stale:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - name: Stale Bot
  10. uses: actions/stale@v5
  11. with:
  12. repo-token: ${{ secrets.GITHUB_TOKEN }}
  13. # Number of days of inactivity before an issue or PR is considered stale
  14. days-before-pr-stale: 15
  15. days-before-issue-stale: 45
  16. # Number of days of inactivity before a stale issue or PR is closed
  17. days-before-pr-close: 30
  18. days-before-issue-close: 90
  19. # Issues or PRs with these labels will never be considered stale
  20. exempt-pr-labels: stalebot ignore
  21. exempt-issue-labels: stalebot ignore,help wanted
  22. # Label to use when marking an issue or PR as stale
  23. stale-pr-label: waiting
  24. # Comment to post when marking an issue or PR as stale
  25. stale-pr-message: |
  26. Hi all! This thread has not had any recent activity.
  27. Are there any updates? Thanks!
  28. # Comment to post when closing a stale issue or PR
  29. close-pr-message: |
  30. Hi everyone.
  31. This thread is being closed as there was no response to the previous prompt.
  32. However, please leave a comment whenever you're ready to resume, so the thread can be reopened.
  33. Thanks again!