Menu

Tree [a711e4] main /
 History

HTTPS access


File Date Author Commit
 README.md 2026-06-23 Reaper Reaper [a711e4] Initial github free-only killswitch script
 github-free-only-killswitch 2026-06-23 Reaper Reaper [a711e4] Initial github free-only killswitch script

Read Me

github-free-only-killswitch

A defensive GitHub cleanup/audit tool for people who want GitHub to be only a free source-code backup, issue tracker, and pull-request host.

It does not delete repositories, branches, tags, commits, issues, pull requests, source files, or local clones.

It can audit and optionally clean:

  • GitHub Actions execution
  • Actions artifacts
  • Actions caches
  • Actions workflow run history/logs
  • Codespaces
  • GitHub Packages, only when explicitly unlocked
  • Root .gitattributes Git LFS rules

Usage

Audit:

github-free-only-killswitch --owner yourgithubuser --audit

Interactive cleanup:

github-free-only-killswitch --owner yourgithubuser --apply

GitHub Packages audit requires:

gh auth refresh -h github.com -s read:packages

GitHub Packages deletion requires:

gh auth refresh -h github.com -s read:packages,delete:packages

Package deletion also requires:

--allow-package-delete