stale.yaml 906 B

12345678910111213141516171819202122232425262728293031323334
  1. ---
  2. name: Manage stale issues
  3. on:
  4. schedule:
  5. # run hourly
  6. - cron: "0 * * * *"
  7. workflow_dispatch:
  8. jobs:
  9. stale:
  10. runs-on: ubuntu-latest
  11. permissions:
  12. issues: write
  13. pull-requests: none
  14. steps:
  15. - name: Close Stale Issues
  16. uses: actions/stale@v6
  17. with:
  18. days-before-stale: 7
  19. days-before-close: 7
  20. exempt-issue-labels: 'internal,BUG,help wanted,#triage/accepted,#needs-triage,Feature,Enhancement'
  21. stale-issue-label: "#triage/stale"
  22. stale-issue-message: >-
  23. This issue has been automatically marked as stale because it has not had
  24. recent activity. It will be closed if no further activity occurs. Thank you
  25. for your contributions.
  26. # we don't want stalebot to analyze pull requests
  27. only-pr-labels: "ZZZDisabledZZZ"
  28. operations-per-run: 80
  29. ...