Over the last few days, I found myself doing something boring.
I was going through a few repositories at Criaway (my company), closing old PRs, deleting merged branches, and reviewing things that could have easily been automated.
That’s when the thought that always drives me came up again:
“If it can be automated, I’ll automate it.”
And that’s how GitHub AutoMaintainer was born — a CLI tool written in Go to automate repetitive GitHub maintenance tasks, such as:
- Closing old pull requests automatically
- Deleting merged branches
- Running everything with --dry-run, colored logs, and structured terminal reports
- Operating globally for an organization or targeting a specific repository
No YAML. No complex setup.
Just install it with Homebrew and start using:
brew install olucasandrade/automaintainer/automaintainer
This project came from a real need I had, but the goal is for it to grow with the community.
If you maintain GitHub repositories, contribute to open source, or simply care about productivity, take a look and let me know what you think.
Check out the repository here.
What’s next?
I’m planning for the upcoming versions:
- Label synchronization across repositories
- Automatic removal of inactive collaborators
- Safe detection and deletion of unused repositories (still exploring the best approach)
- Improved Homebrew integration
Every suggestion, pull request, or piece of feedback is welcome.
The goal is simple: make life easier for those who already make life easier through code.
Top comments (0)