Skip to content

Commit 92004b1

Browse files
author
alrex
authoredApr 5, 2021
add automation to close stale issues (#393)
1 parent 35774f1 commit 92004b1

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
 

Diff for: ‎.github/workflows/close-stale-issues.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: "Close stale issues"
2+
on:
3+
schedule:
4+
- cron: "12 3 * * *" # arbitrary time not to DDOS GitHub
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/stale@v3
11+
with:
12+
repo-token: ${{ secrets.GITHUB_TOKEN }}
13+
stale-issue-message: 'This issue was marked stale due to lack of activity. It will be closed in 30 days.'
14+
close-issue-message: 'Closed as inactive. Feel free to reopen if this issue needs resolving.'
15+
exempt-issue-labels: 'feature-request'
16+
stale-issue-label: 'backlog'
17+
days-before-stale: 30
18+
days-before-close: 60

0 commit comments

Comments
 (0)
Please sign in to comment.