stale action: Configure again (#21785)

Having newline between I think didn't apply the PR stale days setting of
30 properly (it was using 45)

And it seemd that unless I set the days-before-close to -1
intentionally, it would still close the Issue/PRs, as the default value
is 7 already.

Also updated version of the stale action to v8
This commit is contained in:
Junwoo Hwang 2023-06-30 19:12:16 +02:00 committed by GitHub
parent 3557644010
commit 0196241c10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 6 deletions

View File

@ -7,13 +7,10 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4.1.1
- uses: actions/stale@v8
with:
days-before-issue-stale: 30
days-before-stale: 30
days-before-close: -1
stale-issue-label: 'stale'
days-before-pr-stale: 30
stale-pr-label: 'stale'
remove-stale-when-updated: true
debug-only: true