Skip to content

ci: add stale issue and PR cleanup workflow#5456

Merged
jgoux merged 8 commits into
developfrom
codex/stale-issue-pr-cleanup
Jun 17, 2026
Merged

ci: add stale issue and PR cleanup workflow#5456
jgoux merged 8 commits into
developfrom
codex/stale-issue-pr-cleanup

Conversation

@jgoux

@jgoux jgoux commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

What changed

Adds a GitHub Actions workflow for stale issue and pull request cleanup. The workflow runs daily as a dry run so maintainers can see what would be closed, and it can also be run manually.

Manual runs stay in dry-run mode unless execute is set to true. Execute runs comment on and close matching items, skip protected labels, and default to a 25-item batch cap so cleanup can happen gradually.

The default stale window is 45 days for issues and 60 days for pull requests.

Why

The CLI repo has a large stale backlog. The workflow gives maintainers a repeatable way to review the next stale batch, close old inactive items with a clear comment, and let users reopen or ask maintainers to reopen anything that is still relevant.

@jgoux jgoux changed the title [codex] Add stale issue and PR cleanup workflow ci: add stale issue and PR cleanup workflow Jun 3, 2026
@jgoux jgoux marked this pull request as ready for review June 5, 2026 13:45
@jgoux jgoux force-pushed the codex/stale-issue-pr-cleanup branch from 51eadcf to 14201e9 Compare June 5, 2026 13:45
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Supabase CLI preview

npx --yes https://pkg.pr.new/supabase/cli/supabase@7d13bddf37a582cbdf252ee275ff6ade980fd16f

Preview package for commit 7d13bdd.

@jgoux jgoux force-pushed the codex/stale-issue-pr-cleanup branch from efcada5 to 9399f67 Compare June 17, 2026 13:47
@jgoux jgoux added this pull request to the merge queue Jun 17, 2026
Merged via the queue into develop with commit 7c35fd6 Jun 17, 2026
19 checks passed
@jgoux jgoux deleted the codex/stale-issue-pr-cleanup branch June 17, 2026 15:02
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