Skip to content

Commit 2808d64

Browse files
rekram1-nodeanntnzrb
authored andcommitted
ci: stale issues
1 parent 907387a commit 2808d64

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/stale-issues.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: "Auto-close stale issues"
2+
3+
on:
4+
schedule:
5+
- cron: "30 1 * * *" # Daily at 1:30 AM
6+
workflow_dispatch:
7+
8+
jobs:
9+
stale:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
issues: write
13+
steps:
14+
- uses: actions/stale@v10
15+
with:
16+
days-before-stale: 90
17+
days-before-close: 7
18+
stale-issue-label: "stale"
19+
close-issue-message: |
20+
[automated] Closing due to 90+ days of inactivity.
21+
22+
Feel free to reopen if you still need this!
23+
stale-issue-message: |
24+
[automated] This issue has had no activity for 90 days.
25+
26+
It will be closed in 7 days if there's no new activity.
27+
remove-stale-when-updated: true
28+
exempt-issue-labels: "pinned,security,feature-request,on-hold"
29+
start-date: "2025-12-27"

0 commit comments

Comments
 (0)