@@ -18,10 +18,12 @@ jobs:
18
18
stale :
19
19
runs-on : ubuntu-latest
20
20
steps :
21
- - uses : actions/stale@v9
21
+ # First step: Handle regular issues (excluding needs-information)
22
+ - name : Mark regular issues as stale
23
+ uses : actions/stale@v9
22
24
with :
23
25
repo-token : ${{ secrets.GITHUB_TOKEN }}
24
- dry-run : true
26
+ debug-only : true
25
27
26
28
# Default stale policy
27
29
days-before-stale : ${{ env.DAYS_BEFORE_STALE }}
@@ -32,15 +34,15 @@ jobs:
32
34
stale-pr-label : " stale"
33
35
34
36
stale-issue-message : |
35
- This issue has been automatically marked as stale due to inactivity.
36
- It will be closed in 30 days if no further activity occurs.
37
+ This issue has been automatically marked as stale due to inactivity.
38
+ It will be closed in 30 days if no further activity occurs.
37
39
If you believe this issue is still relevant, please add a comment to keep it open.
38
40
39
41
close-issue-message : |
40
- This issue has been automatically closed due to inactivity.
42
+ This issue has been automatically closed due to inactivity.
41
43
If you believe this issue is still relevant, please reopen it or create a new issue with updated information.
42
44
43
- # Exclude needs-information issues from this job
45
+ # Exclude needs-information issues from this step
44
46
exempt-issue-labels : ' no-stale,needs-information'
45
47
46
48
# Remove stale label when issue/PR becomes active again
@@ -51,24 +53,22 @@ jobs:
51
53
days-before-pr-close : ${{ env.DAYS_BEFORE_CLOSE }}
52
54
53
55
stale-pr-message : |
54
- This pull request has been automatically marked as stale due to inactivity.
56
+ This pull request has been automatically marked as stale due to inactivity.
55
57
It will be closed in 30 days if no further activity occurs.
56
58
57
59
close-pr-message : |
58
- This pull request has been automatically closed due to inactivity.
60
+ This pull request has been automatically closed due to inactivity.
59
61
If you would like to continue this work, please reopen the PR or create a new one.
60
62
61
63
# Only exclude no-stale PRs (needs-information PRs follow standard timeline)
62
64
exempt-pr-labels : ' no-stale'
63
65
64
- # Separate job for needs-information issues ONLY with accelerated timeline
65
- stale-needs-info :
66
- runs-on : ubuntu-latest
67
- steps :
68
- - uses : actions/stale@v9
66
+ # Second step: Handle needs-information issues with accelerated timeline
67
+ - name : Mark needs-information issues as stale
68
+ uses : actions/stale@v9
69
69
with :
70
70
repo-token : ${{ secrets.GITHUB_TOKEN }}
71
- dry-run : true
71
+ debug-only : true
72
72
73
73
# Accelerated timeline for needs-information
74
74
days-before-stale : ${{ env.NEEDS_INFO_DAYS_BEFORE_STALE }}
@@ -81,15 +81,15 @@ jobs:
81
81
only-issue-labels : ' needs-information'
82
82
83
83
stale-issue-message : |
84
- This issue has been marked as stale because it requires additional information
85
- that has not been provided for 30 days. It will be closed in 7 days if the
84
+ This issue has been marked as stale because it requires additional information
85
+ that has not been provided for 30 days. It will be closed in 7 days if the
86
86
requested information is not provided.
87
87
88
88
close-issue-message : |
89
- This issue has been closed because the requested information was not provided within the specified timeframe.
89
+ This issue has been closed because the requested information was not provided within the specified timeframe.
90
90
If you can provide the missing information, please reopen this issue or create a new one.
91
91
92
- # Disable PR processing for this job
92
+ # Disable PR processing for this step
93
93
days-before-pr-stale : -1
94
94
days-before-pr-close : -1
95
95
0 commit comments