您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

18 行
611 B

  1. name: 'Close stale issues'
  2. on:
  3. schedule:
  4. - cron: '00 5 * * *'
  5. workflow_dispatch:
  6. jobs:
  7. stale:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - uses: actions/stale@v3
  11. with:
  12. repo-token: ${{ secrets.GITHUB_TOKEN }}
  13. days-before-close: 1
  14. days-before-stale: 6
  15. only-labels: 'status: needs more info'
  16. close-issue-message: 'Closing this issue because it needs more information and has not had recent activity. Please re-open this issue when more details can be provided.\n\nThanks!'