stale.yml 777 B

123456789101112131415161718
  1. name: 'Close stale issues and PR'
  2. on:
  3. schedule:
  4. - cron: '30 1 * * *'
  5. jobs:
  6. stale:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - uses: actions/stale@v7
  10. with:
  11. repo-token: ${{ secrets.GITHUB_TOKEN }}
  12. stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.'
  13. stale-pr-message: 'This pr is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.'
  14. close-issue-message: 'This issue was closed because it has been stalled for 30 days with no activity.'
  15. exempt-issue-labels: kind/feature
  16. days-before-stale: 90
  17. days-before-close: 30