1
0

stale-issues.yml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. # This workflow warns and then closes issues that have had no activity for a
  2. # specified amount of time. You can adjust the behavior by modifying this file.
  3. # For more information, see:
  4. # https://github.com/marketplace/actions/close-stale-issues
  5. # https://github.com/actions/stale/blob/master/action.yml
  6. # https://github.com/actions/stale
  7. ---
  8. name: 'Stale Issues Policy'
  9. on: # yamllint disable-line rule:truthy
  10. schedule:
  11. - cron: '0 0 * * *' # Run at 00:00 UTC every day
  12. workflow_dispatch:
  13. permissions:
  14. contents: read
  15. issues: write # for actions/stale to close stale issues
  16. jobs:
  17. stale:
  18. runs-on: ubuntu-latest
  19. steps:
  20. - name: '🧹 Mark & close stale issues'
  21. id: stale_issues
  22. uses: actions/stale@6f05e4244c9a0b2ed3401882b05d701dd0a7289b # v7
  23. with:
  24. repo-token: ${{ secrets.GITHUB_TOKEN }}
  25. days-before-issue-stale: 180
  26. days-before-close: 20
  27. operations-per-run: 100 # max num of ops per run
  28. stale-issue-label: ':status/automatic-stale'
  29. close-issue-label: ':status/automatic-closing'
  30. # trunk-ignore(yamllint/line-length)
  31. exempt-issue-labels: 'hold, WIP, :type/enhancement, can-be-reproduced, priority-A, :type/bug, :type/feature-request'
  32. remove-stale-when-updated: true
  33. stale-issue-message: |
  34. Hi There! 👋
  35. We haven't seen any activity on this issue in a while :sleeping:, and we just wanted to make sure that it's still relevant. If you're still experiencing this issue, you might find it helpful to update to the latest version of Logseq. The latest version includes bug fixes and new features that may help to resolve this issue, and you can download it from [our website](https://logseq.com). If updating to the latest version doesn't help, please let us know by adding a comment 💬. We're here to help!
  36. If the issue has been resolved or is no longer relevant, that's great news! 🎉
  37. We'll go ahead and close this issue to keep our backlog organized. Please note that this issue will be closed automatically in 20 days if there is no further activity. If you need more time to resolve the issue or provide more information, please just let us know by adding a comment.
  38. Access additional [Logseq](https://logseq.com) 🚀 resources:
  39. - **Forum**: https://discuss.logseq.com
  40. - **Blog**: https://blog.logseq.com
  41. - **Docs**: https://docs.logseq.com
  42. Thanks for your contributions to Logseq! If you have any other [**issues**](https://github.com/logseq/logseq/issues/new/choose) or [**feature requests**](https://discuss.logseq.com/c/feedback/feature-requests/), please don't hesitate to [let us know](https://github.com/logseq/logseq/issues/new/choose). We always welcome pull requests too!
  43. - name: '🧹 Close stale awaiting response issues'
  44. id: awaiting_issues
  45. uses: actions/stale@6f05e4244c9a0b2ed3401882b05d701dd0a7289b # v7
  46. with:
  47. repo-token: ${{ secrets.GITHUB_TOKEN }}
  48. days-before-issue-stale: 40
  49. days-before-close: 20
  50. operations-per-run: 30 # max num of ops per run
  51. stale-issue-label: ':status/automatic-stale'
  52. close-issue-label: ':status/automatic-closing'
  53. only-labels: 'awaiting response'
  54. remove-stale-when-updated: true
  55. stale-issue-message: |
  56. Hi There! 👋
  57. We haven't seen any activity on this issue in a while :sleeping:, and we just wanted to make sure that it's still relevant. If you're still experiencing this issue, you might find it helpful to update to the latest version of Logseq. The latest version includes bug fixes and new features that may help to resolve this issue, and you can download it from [our website](https://logseq.com). If updating to the latest version doesn't help, please let us know by adding a comment 💬. We're here to help!
  58. If the issue has been resolved or is no longer relevant, that's great news! 🎉
  59. We'll go ahead and close this issue to keep our backlog organized. Please note that this issue will be closed automatically in 20 days if there is no further activity. If you need more time to resolve the issue or provide more information, please just let us know by adding a comment.
  60. Access additional [Logseq](https://logseq.com) 🚀 resources:
  61. - **Forum**: https://discuss.logseq.com
  62. - **Blog**: https://blog.logseq.com
  63. - **Docs**: https://docs.logseq.com
  64. Thanks for your contributions to Logseq! If you have any other [**issues**](https://github.com/logseq/logseq/issues/new/choose) or [**feature requests**](https://discuss.logseq.com/c/feedback/feature-requests/), please don't hesitate to [let us know](https://github.com/logseq/logseq/issues/new/choose). We always welcome pull requests too!