1+ name : " Close stale issues"
2+
3+ # Controls when the action will run.
4+ on :
5+ schedule :
6+ - cron : " 0 0/3 * * *"
7+
8+ jobs :
9+ cleanup :
10+ name : Stale issue job
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : aws-actions/stale-issue-cleanup@v4
14+ with :
15+ # Setting messages to an empty string will cause the automation to skip
16+ # that category
17+ ancient-issue-message : This is a very old issue that is probably not getting as much
18+ attention as it deserves. We encourage you to check if this is still an issue in
19+ the latest release and if you find that this is still a problem, please feel free
20+ to provide a comment or open a new issue.
21+ stale-issue-message : It looks like this issue has not been active for more than 5 days.
22+ In the absence of more information, we will be closing this issue soon. If you find
23+ that this is still a problem, please add a comment to prevent automatic closure, or
24+ if the issue is already closed please feel free to reopen it.
25+ stale-pr-message : It looks like this PR has not been active for more than five days. In
26+ the absence of more information, we will be closing this PR soon. Please add a
27+ comment to prevent automatic closure, or if the PR is already closed please feel
28+ free to open a new one.
29+
30+ # These labels are required
31+ stale-issue-label : closing-soon
32+ exempt-issue-labels : no-auto-closure,feature-request
33+ stale-pr-label : closing-soon
34+ exempt-pr-labels : pr/needs-review
35+ response-requested-label : response-requested
36+
37+ # Don't set closed-for-staleness label to skip closing very old issues
38+ # regardless of label
39+ closed-for-staleness-label : closed-for-staleness
40+
41+ # Issue timing
42+ days-before-stale : 10
43+ days-before-close : 4
44+ days-before-ancient : 365
45+
46+ # If you don't want to mark a issue as being ancient based on a
47+ # threshold of "upvotes", you can set this here. An "upvote" is
48+ # the total number of +1, heart, hooray, and rocket reactions
49+ # on an issue.
50+ minimum-upvotes-to-exempt : 1
51+
52+ repo-token : ${{ secrets.GITHUB_TOKEN }}
53+ loglevel : DEBUG
54+ # Set dry-run to true to not perform label or close actions.
55+ # dry-run: true
0 commit comments