stale.yml 710 B

12345678910111213141516171819
  1. name: 'Close stale issues'
  2. on:
  3. schedule:
  4. - cron: '0 1 * * *'
  5. jobs:
  6. stale:
  7. if: github.repository == 'vbenjs/vue-vben-admin'
  8. runs-on: ubuntu-latest
  9. steps:
  10. - uses: actions/stale@v9
  11. with:
  12. repo-token: ${{ secrets.GITHUB_TOKEN }}
  13. stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days'
  14. stale-pr-message: 'This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days'
  15. exempt-issue-labels: 'bug,enhancement'
  16. days-before-stale: 60
  17. days-before-close: 7