Skip to content

Commit e508747

Browse files
committed
chore: close inactive issues
1 parent 4eb6b0c commit e508747

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Close inactive issues
2+
on:
3+
schedule:
4+
- cron: "30 1 * * *"
5+
6+
jobs:
7+
close-issues:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
issues: write
11+
steps:
12+
- uses: actions/stale@v5
13+
with:
14+
days-before-issue-stale: 7
15+
days-before-issue-close: 7
16+
stale-issue-label: "stale"
17+
stale-issue-message: "Hey! This issue is still open, but there hasn't been any activity for a week now, so we will be marking this issue as stale and closing it in a week if it's still inactive."
18+
close-issue-message: "This issue was closed because it has been inactive for one week since being marked as stale."

0 commit comments

Comments
 (0)