Skip to content

Commit 0d3e65c

Browse files
authored
feat: add GH action for closing stale prs and issues (#961)
* feat: add GH action for closing stale prs and issues Signed-off-by: Diana Lease <[email protected]> * feat: exempt anything in v4.0 milestone from being closed Signed-off-by: Diana Lease <[email protected]> --------- Signed-off-by: Diana Lease <[email protected]>
1 parent 3bc89a3 commit 0d3e65c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/close-stale.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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@v9
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 10 days.'
13+
stale-pr-message: 'This PR is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 10 days.'
14+
days-before-issue-stale: 60
15+
days-before-pr-stale: 15
16+
days-before-close: 10
17+
exempt-milestones: 'v4.0'

0 commit comments

Comments
 (0)