Skip to content

fix(ci): add grace period to stale PR bot#675

Open
malob wants to merge 1 commit intogoogleworkspace:mainfrom
malob:fix/stale-bot-grace-period
Open

fix(ci): add grace period to stale PR bot#675
malob wants to merge 1 commit intogoogleworkspace:mainfrom
malob:fix/stale-bot-grace-period

Conversation

@malob
Copy link
Copy Markdown
Contributor

@malob malob commented Apr 6, 2026

Description

The stale bot currently marks PRs stale after 3 days and closes them instantly in the same run (days-before-pr-close: 0). Contributors see the stale warning and close message simultaneously, with no chance to respond.

This has caused multiple community PRs to be auto-closed and re-filed as duplicates: #554#589, #634#665, #643#667#674.

This PR adds a 4-day grace period after the 3-day stale mark (7 days total before close). The stale warning now tells contributors they can comment or push to reset the timer.

Before

  • Day 3: PR marked stale and closed in the same run

After

  • Day 3: PR marked stale with a warning comment
  • Days 3–7: contributor can comment or push to reset the timer
  • Day 7: PR closed if still inactive

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.
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 6, 2026

⚠️ No Changeset found

Latest commit: 12caf8e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant