Skip to content

Commit 04ff292

Browse files
committed
Added inactivity action
1 parent 8f00cb8 commit 04ff292

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/inactivity.yaml

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+
pull-requests: write
12+
steps:
13+
- uses: actions/stale@v5
14+
with:
15+
days-before-stale: -1
16+
days-before-pr-close: -1
17+
days-before-issue-close: 21
18+
close-issue-message: "This issue was closed because it has been inactive for 21 days. Reopen it or create a new issue in case the problem still persists."

0 commit comments

Comments
 (0)