You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

47 lines
1.4 KiB

  1. name: Stale
  2. on:
  3. schedule:
  4. - cron: '0 12 * * *'
  5. jobs:
  6. analyze:
  7. name: Analyze
  8. runs-on: ubuntu-latest
  9. strategy:
  10. fail-fast: false
  11. matrix:
  12. language: ['python']
  13. steps:
  14. - name: Close Stale Issues
  15. uses: actions/stale@v3
  16. with:
  17. start-date: 2021-02-01
  18. days-before-stale: 30
  19. days-before-issue-close: 7
  20. days-before-pr-close: 14
  21. stale-label: stale
  22. close-issue-label: wontfix
  23. close-pr-label: wontmerge
  24. exempt-issue-label: 'confirmed,enhancement'
  25. exempt-pr-label: 'on hold'
  26. stale-issue-message: >
  27. This issue has not been active since a lot of time. If you think it is still valid, feel free to reply with a simple comment.
  28. Without any update, I will close it in 7 days.
  29. stale-pr-message: >
  30. This pull request has not been active since a lot of time. If you're still working on it, please reply with a simple comment.
  31. Without any update, I will close it in 14 days.
  32. close-issue-message: >
  33. Closing this issue.
  34. If you think it should be considered, feel free to exhume it.
  35. close-pr-message: >
  36. Closing this PR, since it has not got activity for a while.
  37. If you're still working on it, feel free to reopen it.