Skip to content

Commit 7012d35

Browse files
authored
Merge pull request #1 from netlify/chore/stalebot-workflow
chore: add initial stalebot config
2 parents 75e69a5 + 108173b commit 7012d35

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/stalebot.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: 'Mark and close stale issues in the repo'
2+
on:
3+
schedule:
4+
- cron: '30 1 * * *' # runs daily at 1:30 https://crontab.guru/#30_1_*_*_*
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/stale@v3.0.18
11+
with:
12+
exempt-issue-labels: 'WIP,security,action_item,never_stale'
13+
days-before-issue-stale: 365
14+
stale-issue-label: 'stale'
15+
stale-issue-message: 'This issue has been automatically marked as stale because it has not had activity in 1 year. It will be closed in 7 days if no further activity occurs. Thanks!'
16+
days-before-issue-close: 7
17+
close-issue-message: 'This issue was closed because it had no activity for over 1 year.'
18+
days-before-pr-close: -1

0 commit comments

Comments
 (0)