stale.yml 1.0 KB

1234567891011121314151617181920212223242526
  1. name: "Close stale issues"
  2. on:
  3. schedule:
  4. - cron: "20 0 * * *"
  5. workflow_dispatch:
  6. inputs:
  7. debug-only:
  8. description: 'In debug mod'
  9. required: false
  10. default: 'false'
  11. jobs:
  12. stale:
  13. runs-on: ubuntu-latest
  14. steps:
  15. - uses: actions/stale@v3
  16. with:
  17. repo-token: ${{ secrets.GITHUB_TOKEN }}
  18. stale-issue-message: 'Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.'
  19. stale-pr-message: 'Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.'
  20. stale-issue-label: 'lifecycle/stale'
  21. exempt-issue-labels: 'bug,doc,enhancement,future,proposal,question,testing,todo,easy,help wanted,assigned'
  22. stale-pr-label: 'lifecycle/stale'
  23. exempt-pr-labels: 'bug,doc,enhancement,future,proposal,question,testing,todo,easy,help wanted,assigned'
  24. days-before-stale: 30
  25. days-before-close: 7
  26. debug-only: ${{ github.event.inputs.debug-only }}