Skip to content

Commit f246a0c

Browse files
committed
Add handling for stale issues and PRs
As discussed in the community meeting stale issues and PRs will be warned and stale labeled after 60 days. Without any further action the auto close happens after 30 days of the stale notification
1 parent 57b7a06 commit f246a0c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/ci-stale.yml

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

0 commit comments

Comments
 (0)