Skip to content

chore: auto-close stale claudebox draft PRs after 5 days#21756

Merged
ludamad merged 1 commit intonextfrom
claudebox/auto-close-stale-drafts
Mar 18, 2026
Merged

chore: auto-close stale claudebox draft PRs after 5 days#21756
ludamad merged 1 commit intonextfrom
claudebox/auto-close-stale-drafts

Conversation

@AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Mar 18, 2026

Summary

  • Adds a daily GitHub Actions workflow that closes claudebox-labeled draft PRs with no updates for 5+ days
  • Uses GitHub search API to find stale drafts, posts a comment explaining the closure, then closes them
  • Runs daily at 06:00 UTC, also supports manual trigger via workflow_dispatch

Motivation

There are 24+ zombie claudebox draft PRs accumulating. This automates cleanup so they don't pile up.

@AztecBot AztecBot added ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR. labels Mar 18, 2026
@ludamad ludamad marked this pull request as ready for review March 18, 2026 18:02
@ludamad ludamad requested a review from charlielye as a code owner March 18, 2026 18:02
@ludamad ludamad enabled auto-merge March 18, 2026 18:02
@ludamad ludamad added this pull request to the merge queue Mar 18, 2026
Merged via the queue into next with commit b495b5c Mar 18, 2026
37 of 45 checks passed
@ludamad ludamad deleted the claudebox/auto-close-stale-drafts branch March 18, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants