Repository navigation
feat: delete Actions caches nothing will read again, when asked - #74
Merged
Merged
Conversation
modules.cache_cleanup, off unless asked for and in no preset, writes .github/workflows/cache-cleanup.yml. When a pull request closes it deletes that pull request's caches; a weekly sweep deletes the caches of closed pull requests and, per branch and kind of cache, copies left unused for a day longer than the newest one. The job uses only gh and jq, so Dependabot has nothing to bump in it. It is the workflow copied by hand into five repositories on 17/10. On GitLab the switch writes nothing and says so: there are no Actions caches.
This was referenced Oct 20, 2026
vannt-dev
added a commit
that referenced
this pull request
Oct 20, 2026
It runs init once for each fixture: about 5 s locally, and it timed out at the 20 s default on the windows-latest runner for #74 before passing on a rerun.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes for users
modules.cache_cleanup(off by default, in no preset). It writes.github/workflows/cache-cleanup.yml, the same workflow copied by hand into snap-video, aegis-net,network-overrides-devtools, browser-extension and dynamic-field-kit on 17/10:
pull_request_target: closed, it deletes that pull request's caches;per branch and kind of cache (key without its hash), copies left unused for more than a day longer
than the newest one.
ghandjqand no third-party action, so Dependabot has nothing to bumpin a managed file. Nothing is checked out.
init/update/checkprint a note (there are no Actions caches).init --interactiveasks about it; the playground lists it, with the "needs repokeeper 0.11.0" note.docs/ci-and-releases.md.and docker).
Verification
npm run typecheck,biome check .,npm test(489 passed),npm run build: all pass.node dist/cli.js initon a sample node repository withcache_cleanup: true. The generatedcache-cleanup.ymlhas the same script as the hand-copied reference, andactionlint1.7.12 reportsnothing for all generated workflows.