Skip to content

Commit f6d2252

Browse files
committed
Convert to stale action
1 parent 67284d1 commit f6d2252

File tree

2 files changed

+21
-16
lines changed

2 files changed

+21
-16
lines changed

.github/stale.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/stale.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: 'Handle stale issues'
2+
on:
3+
schedule:
4+
- cron: '30 1 * * *'
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
# https://github.com/actions/stale
11+
- uses: actions/stale@v9
12+
with:
13+
days-before-stale: 30
14+
days-before-close: 7
15+
only-labels: question
16+
stale-issue-label: stale
17+
stale-issue-message: >
18+
This issue has been automatically marked as stale because it has not
19+
had recent activity. It will be closed if no further activity
20+
occurs. This only applies to 'question' issues. Always feel free to
21+
reopen or create new issues. Thank you!

0 commit comments

Comments
 (0)