main
yml 54 lines 2.1 KB
Raw
1 name: 'Close inactive issues and PRs'
2
3 on:
4 schedule:
5 # Daily at 1:30 AM UTC
6 - cron: '30 1 * * *'
7
8 jobs:
9 close-issues-and-pull-requests:
10 # Prevents triggering on forks or other repos
11 if: github.repository == 'vllm-project/vllm'
12 permissions:
13 issues: write
14 pull-requests: write
15 actions: write
16 runs-on: ubuntu-latest
17 steps:
18 - uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3.0
19 with:
20 # Increasing this value ensures that changes to this workflow
21 # propagate to all issues and PRs in days rather than months
22 operations-per-run: 1000
23
24 exempt-draft-pr: true
25 exempt-issue-labels: 'keep-open'
26 exempt-pr-labels: 'keep-open'
27
28 labels-to-add-when-unstale: 'unstale'
29 labels-to-remove-when-stale: 'unstale'
30
31 days-before-issue-stale: 90
32 days-before-issue-close: 30
33 stale-issue-label: 'stale'
34 stale-issue-message: >
35 This issue has been automatically marked as stale because it has not
36 had any activity within 90 days. It will be automatically closed if no
37 further activity occurs within 30 days. Leave a comment if
38 you feel this issue should remain open. Thank you!
39 close-issue-message: >
40 This issue has been automatically closed due to inactivity. Please
41 feel free to reopen if you feel it is still relevant. Thank you!
42
43 days-before-pr-stale: 90
44 days-before-pr-close: 30
45 stale-pr-label: 'stale'
46 stale-pr-message: >
47 This pull request has been automatically marked as stale because it
48 has not had any activity within 90 days. It will be automatically
49 closed if no further activity occurs within 30 days. Leave a comment
50 if you feel this pull request should remain open. Thank you!
51 close-pr-message: >
52 This pull request has been automatically closed due to inactivity.
53 Please feel free to reopen if you intend to continue working on it.
54 Thank you!