stale.yml 1.6 KB

1234567891011121314151617181920212223242526272829
  1. name: 'Close stale issues'
  2. on:
  3. schedule:
  4. - cron: '30 1 * * *'
  5. jobs:
  6. stale:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - uses: actions/stale@v9
  10. with:
  11. # Aggressively close issues that have been explicitly labeled `age-out`
  12. any-of-labels: age-out
  13. stale-issue-message: 'This issue is stale because it has been open for 7 days with no activity. Remove stale label or comment or this will be closed in 1 day.'
  14. close-issue-message: 'This issue was closed because it has been stalled for over 7 days with no activity.'
  15. stale-pr-message: 'This PR is stale because it has been open for 7 days with no activity. Remove stale label or comment or this will be closed in 1 days.'
  16. close-pr-message: 'This PR was closed because it has been stalled for over 7 days with no activity.'
  17. days-before-stale: 7
  18. days-before-close: 1
  19. - uses: actions/stale@v9
  20. with:
  21. # Be more lenient with other issues
  22. stale-issue-message: 'This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
  23. close-issue-message: 'This issue was closed because it has been stalled for over 30 days with no activity.'
  24. stale-pr-message: 'This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
  25. close-pr-message: 'This PR was closed because it has been stalled for over 30 days with no activity.'
  26. days-before-stale: 30
  27. days-before-close: 7