Refine prek autoupdate cleanup schedule#423
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e5320f20d7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a3090a21c4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Summary
Refines the prek autoupdate workflow so hook updates still run weekly while cleanup runs every night.
The cleanup helper now removes stale generated branches more thoroughly while protecting branches used by open same-repo PRs.
What Changed
chore/prek-updates*branches.Why
The previous workflow only performed cleanup during weekly prek update runs. Running cleanup nightly keeps generated PR and branch clutter under control between weekly updates, while the extra branch protection avoids deleting branches still backing open PRs.
Related Issues
None.