Skip to content

Commit e09e47b

Browse files
authored
chore(ci): add stale bot (#5700)
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent 3796558 commit e09e47b

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/stalebot.yml

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

0 commit comments

Comments
 (0)