Skip to content

Commit 3061d2b

Browse files
authored
feature: stale bot (#798)
1 parent 29b0546 commit 3061d2b

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: 'Close stale issues and PRs'
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: '30 1 * * *'
6+
7+
jobs:
8+
stale:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/[email protected]
12+
with:
13+
days-before-issue-stale: 60
14+
days-before-pr-stale: 60
15+
days-before-issue-close: 14
16+
days-before-pr-close: 14
17+
stale-issue-message: >
18+
This issue is stale because it has been open 60 days with no activity.
19+
Remove stale label or comment or this will be closed in 14 days.
20+
close-issue-message: >
21+
This issue was closed because it has been stalled for 14 days with no activity.
22+
stale-pr-message: >
23+
This PR is stale because it has been open 60 days with no activity.
24+
Remove stale label or comment or this will be closed in 14 days.
25+
close-pr-message: >
26+
This PR was closed because it has been stalled for 10 days with no activity.
27+
stale-issue-label: 'stale'
28+
exempt-issue-labels: 'needs-discussion,help wanted,never stale,feature'
29+
stale-pr-label: 'stale'
30+
exempt-pr-labels: 'never stale'
31+
operations-per-run: 500
32+
ascending: true

0 commit comments

Comments
 (0)