Skip to content
gh-maintainer logo

Your repositories, maintained every two hours

gh-maintainer is a self-hosted GitHub bot that auto-merges green Dependabot pull requests, repairs failing ones with Claude Code, deletes stale branches and runs security checks. You approve anything risky from a live widget.

Merges green Dependabot bumps

Patch and minor bumps with green checks are squash-merged, pinned to the head SHA that was checked.

Repairs failing Dependabot PRs

Headless Claude Code makes one sandboxed fix attempt per PR per 24 hours. The fix always waits for your approval.

Queues approvals

Major bumps, unparseable bumps and every PR with a non-Dependabot commit go to an approval queue. You approve or reject them in the widget.

Deletes stale branches

Branches whose PR was merged, or that are older than 90 days with no open PR, are deleted. Default, protected and kept branches are never touched.

Runs security checks

Dependabot, code scanning and secret scanning alerts, repo hygiene, a workflow audit, and local trivy, gitleaks and osv-scanner scans.

Starts in dry run

Every change to GitHub is reported as an action.would_* event until you switch dry run off.

The status server streams every step of a run to a compact web widget and to a desktop tray app for Linux, macOS and Windows.

gh-maintainer web widget in dark mode, showing the approval queue, repository tiles, security finding counts and the live activity feed

Read the overview to see how the parts fit together, or go straight to the quick start.