Skip to content

Commit 0eb88f2

Browse files
committed
Add GitHub Actions workflow to close stale issues
1 parent 47e7469 commit 0eb88f2

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/stale.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "Close stale issues"
2+
on:
3+
schedule:
4+
- cron: "0 0 * * *"
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/stale@v9
11+
with:
12+
stale-issue-message: |
13+
This issue has had no recent activity and is now marked as stale.
14+
Please leave a comment if it is still relevant; otherwise, it will be closed soon.
15+
close-issue-message: |
16+
This issue has been closed due to inactivity.
17+
If the problem persists, feel free to reopen it or open a new issue.
18+
days-before-stale: 30
19+
days-before-close: 7
20+
exempt-issue-labels: "pinned,security"

0 commit comments

Comments
 (0)