File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Mark and close stale issues
2+
3+ on :
4+ schedule :
5+ - cron : ' 0 3 * * *' # daily at 03:00 UTC
6+ workflow_dispatch : {}
7+
8+ permissions :
9+ contents : read
10+ issues : write
11+ pull-requests : read
12+
13+ jobs :
14+ stale :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Run stale action (issues only)
18+ uses : actions/stale@v9
19+ with :
20+ repo-token : ${{ secrets.GITHUB_TOKEN }}
21+ operations-per-run : 200
22+
23+ # Issues policy
24+ days-before-issue-stale : 14
25+ days-before-issue-close : 14
26+ stale-issue-label : ' stale'
27+ exempt-issue-labels : ' discussion,future,nice-to-have'
28+ stale-issue-message : >-
29+ This issue has been automatically marked as stale because it has not had
30+ recent activity for 14 days. If this is still relevant, please add a comment
31+ or apply an appropriate label to keep it active. Otherwise, it will be
32+ closed in another 14 days.
33+ close-issue-message : >-
34+ Closing this issue due to prolonged inactivity. Feel free to reopen if this
35+ is still a concern or provide more details.
36+
37+ # PR policy
38+ days-before-pr-stale : -1
39+ days-before-pr-close : -1
40+
41+ # Behavior
42+ remove-stale-when-updated : true
43+ enable-statistics : true
44+ debug-only : false
You can’t perform that action at this time.
0 commit comments