Skip to content

Commit 764bfbb

Browse files
Create stale-bot.yml (#4)
1 parent ff00857 commit 764bfbb

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/stale-bot.yml

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

0 commit comments

Comments
 (0)