stale.yaml 947 B

1234567891011121314151617181920212223242526272829303132333435
  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-22.04
  11. if: github.repository_owner == 'emqx'
  12. permissions:
  13. issues: write
  14. pull-requests: none
  15. steps:
  16. - name: Close Stale Issues
  17. uses: actions/stale@v6
  18. with:
  19. days-before-stale: 7
  20. days-before-close: 7
  21. exempt-issue-labels: 'internal,BUG,help wanted,#triage/accepted,#needs-triage,Feature,Enhancement'
  22. stale-issue-label: "#triage/stale"
  23. stale-issue-message: >-
  24. This issue has been automatically marked as stale because it has not had
  25. recent activity. It will be closed if no further activity occurs. Thank you
  26. for your contributions.
  27. # we don't want stalebot to analyze pull requests
  28. only-pr-labels: "ZZZDisabledZZZ"
  29. operations-per-run: 80
  30. ...