返回 DeepSeek-TUI-2026
stale.yml
根目录 / .github / workflows / stale.yml
1 name: Close stale issues
2
3 on:
4 schedule:
5 - cron: '17 5 * * *' # daily, off-peak
6 workflow_dispatch: {}
7
8 permissions:
9 issues: write
10 pull-requests: write
11
12 jobs:
13 stale:
14 runs-on: ubuntu-latest
15 steps:
16 - uses: actions/stale@v9
17 with:
18 days-before-stale: 14
19 days-before-close: 7
20 stale-issue-message: >
21 This issue has been inactive for 14 days while waiting on
22 additional information. It will close automatically in 7 days
23 unless someone responds. If you still need help, drop a
24 comment with the requested details and a maintainer can
25 reopen.
26 close-issue-message: >
27 Closing for inactivity. Feel free to comment to reopen if
28 you can share the requested information.
29 stale-issue-label: 'stale'
30 only-labels: 'needs-info'
31 exempt-issue-labels: 'pinned,keep-open,bug,security'
32 # Don't touch PRs — `actions/stale` defaults can be aggressive
33 # there. We only want it for `needs-info` issues.
34 days-before-pr-stale: -1
35 days-before-pr-close: -1
36 operations-per-run: 60
37
37 lines YAML