Skip to content

Bump stale bot to 180 days, autoclose to 21 - #4097

Open
Mpdreamz wants to merge 1 commit into
mainfrom
fix/stale-bot
Open

Mpdreamz wants to merge 1 commit into
mainfrom
fix/stale-bot

Conversation

@Mpdreamz

Copy link
Copy Markdown
Member

The stale bot now waits 180 days of inactivity before labeling issues and pull requests stale, and 21 days after that before closing them.

Affects: Automation

Prompt summary: Bump the stale bot's inactivity threshold from 90 to 180 days and its autoclose window from 14 to 21 days, then confirm the never-stale exemption label actually exists on the repo, creating it if not.

Why

90 days of inactivity marked an issue or pull request stale too soon, and 14 days to respond after that left little room to react before it closed. The stale comment also had no way to say "never mark this stale" — never-stale was already wired into exempt-issue-labels and exempt-pr-labels, but the label did not exist on elastic/docs-builder, so nobody could apply it.

What

Stale and close thresholds

days-before-stale moves from 90 to 180 in .github/workflows/stale.yml, and days-before-close moves from 14 to 21. An issue or pull request now needs twice as long to go stale, and gets a week longer to respond once it does.

Stale comment text

stale-issue-message and stale-pr-message now name the never-stale label as a third way out, alongside removing the stale label or leaving a comment. The never-stale label is created on the repo so that option resolves to something real.

Made with Cursor

Gives issues and PRs more time before going stale, and more room to
react once they do. Also mentions the never-stale label as an
exemption option in the stale comment.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved: no actionable findings.


What is this? | From workflow: PR Review

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

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

Labels

automation packaging, ci/cd.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants