Skip to content

Commit 730f3f1

Browse files
authored
Create stale_prs.yml
1 parent 3661700 commit 730f3f1

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/stale_prs.yml

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

0 commit comments

Comments
 (0)