Skip to content

ci: adjust stale PR rules - #820

Merged
JoshMock merged 1 commit into
mainfrom
adjust-stale
Nov 13, 2026
Merged

JoshMock merged 1 commit into
mainfrom
adjust-stale

Conversation

@JoshMock

Copy link
Copy Markdown
Member

Loosen stale issue/PR closing to wait 7 days after a stale label before closing.

Also add an exempt label for release PRs so they stay open indefinitely.

Copilot AI balanced review requested due to automatic review settings November 13, 2026 15:39
@github-actions

Copy link
Copy Markdown
Contributor

👋 This PR can use the first-failure repair loop on GitHub Actions and Buildkite.

Labels

  • auto-loop: triage the first CI or Buildkite failure and commit in-repo fixes (also AI review and CodeQL)
  • skip-ai-review: silences the review bot
  • skip-auto-loop: halt the repair loop (also added when you comment /stop)

Comments

  • /stop: halt the repair loop
  • /bad on a finding: the bot writes a short do not re-flag line from the finding and your note into .github/skills/ai-review-memory.md. A reason is optional.
    • Example: /bad false positive. This path is already encoded.

@JoshMock
JoshMock merged commit f9d0cb6 into main Nov 13, 2026
34 of 35 checks passed
@JoshMock
JoshMock deleted the adjust-stale branch November 13, 2026 15:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are reported for the stale-item cleanup timing and pending-release PR exemption changes.

No open issues 🎉

What changed in this PR

This PR relaxes stale-item cleanup in the Elastic CLI repository and protects pending release PRs from automatic closure.

Changes:

  • Extend the closing delay after an issue or PR becomes stale from 2 days to 7 days.
  • Update stale and closure messages to match the new delay.
  • Exempt PRs labeled autorelease: pending, while retaining the existing tracking exemption.
File Description
.github/​workflows/​close-stale.yml Adjust closure timing and messages, and exempt pending release PRs.

Review effort: Balanced

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.

2 participants