From 0196241c106905df5c370befc2a45c47ffa4a15a Mon Sep 17 00:00:00 2001 From: Junwoo Hwang Date: Fri, 30 Jun 2023 19:12:16 +0200 Subject: [PATCH] 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 --- .github/workflows/stale.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index e5e71fa7bf..9e97122d43 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -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