Skip to content

Commit e975fbc

Browse files
authored
Update stale.yml (Netflix#1003)
1 parent 09d6798 commit e975fbc

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.github/workflows/stale.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
name: Mark stale issues and pull requests
2-
1+
name: 'Close stale issues and pull requests'
32
on:
43
schedule:
54
- cron: "0 0 * * *"
65

76
jobs:
87
stale:
9-
108
runs-on: ubuntu-latest
11-
129
steps:
13-
- uses: actions/stale@v1
10+
- uses: actions/stale@v3
1411
with:
1512
repo-token: ${{ secrets.GITHUB_TOKEN }}
16-
stale-issue-message: 'Stale issue message'
17-
stale-pr-message: 'Stale pull request message'
18-
stale-issue-label: 'no-issue-activity'
19-
stale-pr-label: 'no-pr-activity'
13+
stale-issue-message: 'This issue is stale, because it has been open for 30 days with no activity. Remove the stale label or comment, or this will be closed in 5 days.'
14+
close-issue-message: 'This issue was closed, because it has been stalled for 5 days with no activity.'
15+
stale-pr-message: 'This PR is stale, because it has been open for 45 days with no activity. Remove the stale label or comment, or this will be closed in 10 days.'
16+
close-pr-message: 'This PR was closed, because it has been stalled for 10 days with no activity.'
17+
days-before-issue-stale: 30
18+
days-before-issue-close: 5
19+
days-before-pr-stale: 45
20+
days-before-pr-close: 10

0 commit comments

Comments
 (0)