Skip to content

Commit 9c01fc7

Browse files
committed
Fix stale workflow not working reliably
1 parent 36ea95b commit 9c01fc7

File tree

2 files changed

+18
-62
lines changed

2 files changed

+18
-62
lines changed

.github/stale.yml

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

.github/workflows/stale.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: 'Close stale issues and PRs'
2+
on:
3+
schedule:
4+
- cron: '0 0 * * *'
5+
jobs:
6+
stale:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/stale@v4
10+
with:
11+
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
12+
close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.'
13+
stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
14+
close-pr-message: 'This PR was closed because it has been stalled for 7 days with no activity.'
15+
exempt-issue-labels: 'dont-close'
16+
exempt-pr-labels: 'dont-close'
17+
days-before-stale: 30
18+
days-before-close: 7

0 commit comments

Comments
 (0)