How do you clean up stale branches, old PRs, and dead repos across a whole GitHub org?
I manage a lot of repos, that are changed by multiple devs and every few months it turns into a mess: hundreds of merged branches nobody deleted, PRs that went quiet a year ago, repos nobody has touched since a project ended. GitHub only lets me deal with it one repo at a time, so mostly I just... don't.
Curious how others handle this:
- Do you run a script (gh CLI, an Action), use a tool, or just ignore it?
- What's the most annoying part?
- What would you never trust a tool to do automatically?
Especially interested in hearing from people managing 30+ repos or a team org.
[link] [comments]