Skip to content

Commit 13b6af8

Browse files
committed
Add PR bot
Add PR bot Signed-off-by: Bensuperpc <[email protected]>
1 parent 3a70913 commit 13b6af8

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
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: '0 4 * * *'
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-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.'
14+
stale-pr-message: 'This PR is stale because it has been open 75 days with no activity. Remove stale label or comment or this will be closed in 15 days.'
15+
close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'
16+
close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.'
17+
days-before-issue-stale: 60
18+
days-before-pr-stale: 75
19+
days-before-issue-close: 10
20+
days-before-pr-close: 15

0 commit comments

Comments
 (0)