schedule-stale.yml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
  2. permissions:
  3. actions: none
  4. checks: none
  5. contents: none
  6. deployments: none
  7. id-token: none
  8. # This action can update/close issues
  9. issues: write
  10. discussions: none
  11. packages: none
  12. pages: none
  13. pull-requests: none
  14. repository-projects: none
  15. security-events: none
  16. statuses: none
  17. on:
  18. schedule:
  19. - cron: "0 15 * * 1-5"
  20. name: Stale Bot workflow
  21. jobs:
  22. build:
  23. name: stale
  24. runs-on: ubuntu-latest
  25. steps:
  26. - name: stale
  27. id: stale
  28. uses: actions/stale@v3
  29. with:
  30. repo-token: ${{ secrets.GITHUB_TOKEN }}
  31. days-before-stale: 30
  32. days-before-close: 30
  33. operations-per-run: 75
  34. stale-issue-message: |
  35. Hi!
  36. This issue has been left open with no activity for a while now.
  37. We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 30 days since the last update here.
  38. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open!
  39. As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request.
  40. close-issue-message: |
  41. Hi again!
  42. It’s been 60 days since anything happened on this issue, so we are going to close it.
  43. Please keep in mind that I’m only a robot, so if I’ve closed this issue in error please feel free to reopen this issue or create a new one if you need anything else.
  44. As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request.
  45. exempt-issue-labels: |
  46. discussion,not-stale,confirmed,easy,newbie-friendly,suggestion,suggestion-module,suggestion-feature,suggestion-docs,ascii-utf8-issues,database,feature,enhancement,library
  47. debug-only: false