Implement .cleanup-ignore support in cleanup.yml workflow#425
Conversation
- Add logic to parse .cleanup-ignore in Detect unused scripts step - Skip ignored files (by basename or path) during unused script detection - Report skipped file count to GITHUB_STEP_SUMMARY - Close PR #422 as it was incorrectly flagging ignored files Co-authored-by: d-oit <6849456+d-oit@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
|
Overall Grade |
Security Reliability Complexity Hygiene |
Code Review Summary
| Analyzer | Status | Updated (UTC) | Details |
|---|---|---|---|
| JavaScript | Jun 7, 2026 8:15a.m. | Review ↗ | |
| Python | Jun 7, 2026 8:15a.m. | Review ↗ | |
| Rust | Jun 7, 2026 8:15a.m. | Review ↗ | |
| Shell | Jun 7, 2026 8:15a.m. | Review ↗ |
Important
AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.
Up to standards ✅🟢 Issues
|
This change implements full support for the
.cleanup-ignorefile within the.github/workflows/cleanup.ymlworkflow.Previously, the workflow only had hardcoded exceptions and ignored the
.cleanup-ignorefile mentioned in its PR body template. The updated logic:.cleanup-ignoreat the start of the detection step.#) and empty lines.This fix ensures that scripts like
scripts/pre-commit-hook.sh(which are currently listed in.cleanup-ignore) are no longer incorrectly flagged for deletion.Fixes #424
PR created automatically by Jules for task 12929004119878635715 started by @d-oit