File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ' Close stale issues and PRs'
2+ on :
3+ schedule :
4+ - cron : ' 30 1 * * *'
5+
6+ permissions :
7+ issues : write
8+ pull-requests : write
9+
10+ jobs :
11+ stale :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/stale@v9
15+ with :
16+ repo-token : ${{ secrets.GITHUB_TOKEN }}
17+ operations-per-run : 750
18+ # start from the oldest issues/PRs when performing stale operations
19+ ascending : true
20+ days-before-issue-stale : 730
21+ days-before-issue-close : 60
22+ stale-issue-label : stale
23+ exempt-issue-labels : no stalebot,type/epic,type/bug
24+ stale-issue-message : >
25+ This issue has been automatically marked as stale because it has not had
26+ activity in the last 2 years. It will be closed in 60 days if no further activity occurs. Please
27+ feel free to leave a comment if you believe the issue is still relevant.
28+ Thank you for your contributions!
29+ close-issue-message : >
30+ This issue has been automatically closed because it has not had any further
31+ activity in the last 60 days. Thank you for your contributions!
32+ days-before-pr-stale : 60
33+ days-before-pr-close : 14
34+ stale-pr-label : stale
35+ exempt-pr-labels : no stalebot
36+ stale-pr-message : >
37+ This pull request has been automatically marked as stale because it has not had
38+ activity in the last 60 days. It will be closed in 2 weeks if no further activity occurs. Please
39+ feel free to give a status update or ping for review. Thank you for your contributions!
40+ close-pr-message : >
41+ This pull request has been automatically closed because it has not had any further
42+ activity in the last 2 weeks. Thank you for your contributions!
You can’t perform that action at this time.
0 commit comments