From b6bb174cbe1b5978b0c195b62ab4cfecc483a652 Mon Sep 17 00:00:00 2001 From: Hongze Zhang Date: Thu, 30 Nov 2023 09:19:51 +0800 Subject: [PATCH 1/3] fixup --- .github/workflows/stale.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 265fd6e082bd..d882d4e8f0d0 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -25,7 +25,9 @@ jobs: - uses: actions/stale@v8 with: 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.' - close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.' - days-before-pr-stale: 45 - days-before-pr-close: 10 + close-pr-message: 'This PR was auto-closed because it has been stalled for 10 days with no activity. Please feel free to reopen if it's still valid. Thanks.' + stale-issue-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.' + close-issue-message: 'This PR was auto-closed because it has been stalled for 10 days with no activity. Please feel free to reopen if it's still valid. Thanks.' + days-before-stale: 45 + days-before-close: 10 operations-per-run: 300 From fc8126be8a4a6499f9368e7a89cc0e3e46b2a4cb Mon Sep 17 00:00:00 2001 From: Hongze Zhang Date: Thu, 30 Nov 2023 09:23:09 +0800 Subject: [PATCH 2/3] fixup --- .github/workflows/stale.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index d882d4e8f0d0..23967a978ac2 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -26,8 +26,8 @@ jobs: with: 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.' close-pr-message: 'This PR was auto-closed because it has been stalled for 10 days with no activity. Please feel free to reopen if it's still valid. Thanks.' - stale-issue-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.' - close-issue-message: 'This PR was auto-closed because it has been stalled for 10 days with no activity. Please feel free to reopen if it's still valid. Thanks.' + stale-issue-message: 'This issue 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.' + close-issue-message: 'This issue was auto-closed because it has been stalled for 10 days with no activity. Please feel free to reopen if it's still valid. Thanks.' days-before-stale: 45 days-before-close: 10 operations-per-run: 300 From 11db835f311d98e2f953201a8353c058e9844a49 Mon Sep 17 00:00:00 2001 From: Hongze Zhang Date: Thu, 30 Nov 2023 13:03:07 +0800 Subject: [PATCH 3/3] fixup --- .github/workflows/stale.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 23967a978ac2..073ac4b96372 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -24,10 +24,12 @@ jobs: steps: - uses: actions/stale@v8 with: + days-before-pr-stale: 45 + days-before-pr-close: 10 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.' close-pr-message: 'This PR was auto-closed because it has been stalled for 10 days with no activity. Please feel free to reopen if it's still valid. Thanks.' + days-before-issue-stale: -1 # disabled + days-before-issue-close: -1 # disabled stale-issue-message: 'This issue 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.' close-issue-message: 'This issue was auto-closed because it has been stalled for 10 days with no activity. Please feel free to reopen if it's still valid. Thanks.' - days-before-stale: 45 - days-before-close: 10 operations-per-run: 300