Skip to content

Commit c35d32b

Browse files
authored
add stale action (#606)
Signed-off-by: cpanato <ctadeu@gmail.com>
1 parent a675734 commit c35d32b

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/stale.yaml

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

0 commit comments

Comments
 (0)