1
0

stale.yml 1.5 KB

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