stale_bot.yml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. name: Close label-gated stale issues
  2. on:
  3. schedule:
  4. - cron: '0 2 * * *' # 02:00 UTC daily
  5. workflow_dispatch: # allow manual runs
  6. permissions:
  7. issues: write
  8. pull-requests: write
  9. jobs:
  10. sweep:
  11. runs-on: ubuntu-latest
  12. steps:
  13. - uses: actions/stale@v9 # v9 or later
  14. with:
  15. days-before-stale: 30
  16. days-before-close: 3
  17. # Temporary fix to avoid touching PRs at all
  18. only-pr-labels: 'no-response'
  19. # Act ONLY on issues that *still* have one of these labels
  20. any-of-issue-labels: |
  21. status: missing info ❓,
  22. status: reproduction needed 🔁,
  23. type: bug 🐛
  24. # Never touch these
  25. exempt-issue-labels: |
  26. type: feature ✨,
  27. type: chore 🧤,
  28. type: security 🔐,
  29. 👋 contributions welcome,
  30. 🚀 good first task,
  31. @vendure/admin-ui,
  32. @vendure/admin-ui-plugin,
  33. @vendure/asset-server-plugin,
  34. @vendure/cli,
  35. @vendure/core,
  36. @vendure/create,
  37. @vendure/dashboard,
  38. @vendure/elasticsearch-plugin,
  39. @vendure/email-plugin,
  40. @vendure/job-queue-plugin,
  41. @vendure/payments-plugin,
  42. @vendure/testing,
  43. @vendure/ui-devkit,
  44. P1: urgent,
  45. P2: important,
  46. P3: minor,
  47. P4: low
  48. stale-issue-label: stale
  49. close-issue-message: >
  50. Closed automatically because there has been no activity for {{days-before-close}}
  51. days after a reminder. Please comment with new information and
  52. remove the label to re-open.
  53. operations-per-run: 1000