File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Close old issues and PRs older than 2 years
2+ on :
3+ schedule :
4+ - cron : ' 0 0 * * *'
5+ workflow_dispatch :
6+
7+ permissions :
8+ issues : write
9+ pull-requests : write
10+
11+ jobs :
12+ close-old :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/stale@v10
16+ with :
17+ start-date : created_at<=-730 days
18+ days-before-issue-stale : -1
19+ days-before-issue-close : 0
20+ close-issue-message : |
21+ 🔒 This issue has been **automatically closed** because it has been open for more than 2 years with no activity.
22+ If this is still relevant, you may **reopen it or create a new one**.
23+ close-issue-reason : not_planned
24+
25+ days-before-pr-stale : -1
26+ days-before-pr-close : 0
27+ close-pr-message : |
28+ 🔒 This pull request has been **automatically closed** because it has been open for more than 2 years with no activity.
29+ If you still want to proceed, you may **reopen this PR or open a new one**.
30+
31+ exempt-issue-labels : pinned,security,long-term
32+ exempt-pr-labels : pinned,security,wip
33+
You can’t perform that action at this time.
0 commit comments