Conversation
Keep the cache minimum.
There was a problem hiding this comment.
Pull request overview
This PR adds a cache garbage collection step to the pre-commit action to minimize cache size by removing unused hooks after execution.
Changes:
- Added a new cleanup step that runs
prek cache gcto remove unused pre-commit hooks from the cache
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
WalkthroughThe changes add a new cleanup step to the pre-commit action workflow that executes cache garbage collection after the main pre-commit run. This step always runs regardless of the outcome of prior steps. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Keep the cache minimum.