stale.yaml 1.0 KB

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