Skip to content

Commit e3add3c

Browse files
committed
chore: added stale PRs GH action
1 parent d818ac6 commit e3add3c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/stale.yml

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

0 commit comments

Comments
 (0)