Skip to content

Commit 12caf8e

Browse files
committed
fix(ci): add grace period to stale PR bot
The previous config (days-before-pr-close: 0) marked PRs stale and closed them in the same workflow run, giving contributors no chance to respond to the warning. Multiple community PRs have been auto-closed and had to be re-filed as duplicates (googleworkspace#554googleworkspace#589, googleworkspace#634googleworkspace#665, googleworkspace#643googleworkspace#667googleworkspace#674). Add a 4-day grace period after the 3-day stale mark (7 days total), so contributors see the warning and can comment or push to reset the timer before the PR is closed.
1 parent a3768d0 commit 12caf8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/stale.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
days-before-issue-stale: -1
3131
days-before-issue-close: -1
3232
days-before-pr-stale: 3
33-
days-before-pr-close: 0
34-
stale-pr-message: 'This PR has been inactive for 72 hours. Closing to keep the queue clean.'
35-
close-pr-message: 'This PR was closed because it has been stalled for 72 hours. Feel free to magically reopen it if you want to continue working on it!'
33+
days-before-pr-close: 4
34+
stale-pr-message: 'This PR has been inactive for 3 days. It will be closed in 4 days if there is no further activity. Comment or push to reset the timer.'
35+
close-pr-message: 'This PR was closed after 7 days of inactivity. Feel free to reopen it if you want to continue working on it.'
3636
exempt-pr-labels: 'keep-alive'

0 commit comments

Comments
 (0)