close-stale.yml 686 B

123456789101112131415161718192021222324252627
  1. #
  2. # close-stale.yml
  3. # Close open issues after a period of inactivity
  4. #
  5. name: Close Stale Issues
  6. on:
  7. schedule:
  8. - cron: "22 1 * * *"
  9. jobs:
  10. stale:
  11. name: Close Stale Issues
  12. if: github.repository == 'MarlinFirmware/Marlin'
  13. runs-on: ubuntu-latest
  14. steps:
  15. - uses: actions/stale@v3
  16. with:
  17. repo-token: ${{ secrets.GITHUB_TOKEN }}
  18. stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label / comment or this will be closed in 5 days.'
  19. days-before-stale: 30
  20. days-before-close: 5
  21. stale-issue-label: 'stale-closing-soon'
  22. exempt-issue-labels: 'T: Feature Request'