mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 10:59:59 +00:00
The cleanup step ran silently, so a no-op run was indistinguishable from a broken one. Add a config banner, per-deletion lines, and a per-package plus grand-total summary with a kept-reason breakdown, and an explicit message when nothing matches. Add DRY_RUN support. Deletion rule: delete a version only when it carries a ci-* tag, has no semver (v*) or latest tag, and is older than MAX_AGE_DAYS. Released images and untagged multi-arch child layers are never touched. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Repository Cleanup 🧹
Shell helpers for scheduled repository-maintenance workflows that prune stale GitHub resources.
Scope 📋
Helpers in this directory are invoked by maintenance workflows under .github/workflows/.
They may call the GitHub API through gh, but MUST keep destructive selection criteria inside scripts so workflow files remain orchestration-only.
CI image cleanup derives distro-specific package names from INFINITO_DISTROS, whose default comes from default.env through the environment loader.
For the workflow catalog that drives these calls see workflows.md.