Skip to content

FAQ

gh-maintainer is free and open source under the MIT licence. You pay for what it runs on:

  • Your cluster. The agent requests 250m CPU and 512 Mi memory during a run (limits 2 CPU and 3 Gi); the status server requests 50m CPU and 128 Mi.
  • Your Claude subscription. The fixer runs Claude Code with the OAuth token from claude setup-token, so fix attempts count against your subscription’s usage. Claude really runs in dry-run mode too. Each PR gets at most one attempt per fixer.cooldownHours (default 24). To avoid any Claude usage, set fixer.enabled: false.
  • GitHub API quota. The agent uses the REST quota of your token (5,000 requests per hour) and stops a run when fewer than 100 remain.

All repositories of the configured owner that are not archived and not forks. For a user, that is every repository the user owns, including private ones. For an organization, every repository of the organization. Narrow the scope with repos.include and repos.exclude. Only pull requests opened by dependabot[bot] are handled; other pull requests are never touched.

Yes. Set owner to the organization name and create the fine-grained token with the organization as its resource owner. The organization may need to approve fine-grained tokens first. Also set the status server’s OWNER environment variable to the same name in your overlay, see Set the owner in both places. One installation maintains one owner.

Add its name, without the owner, to repos.exclude:

repos:
include: []
exclude: [legacy-app, giant-monorepo]

To keep a repository in the scans but stop the fixer there, use a fixer.repos allow-list instead. To protect single branches, add them to branches.keep. See the configuration reference.

Not out of the box. The project ships Kubernetes manifests only, and relies on them for the schedule, secret files, NetworkPolicies, TLS and basic auth. The agent and status server are plain Node.js programs in container images, so other setups are possible in principle, but they are not documented or tested. The manifests use the cluster’s default IngressClass and StorageClass, so most conformant clusters work; a single-node microk8s with Traefik is the setup the maintainer runs (deploy/overlays/pjo-vpn).

Dependabot auto-merge workflows in GitHub Actions work per repository and need a workflow file in each one. gh-maintainer:

  • works across all your repositories from one place, without adding files to them;
  • runs the fixer outside your CI, with your Claude subscription;
  • adds branch cleanup and security checks across repositories;
  • keeps a live view and an approval queue for everything that needs a human.

It also deliberately has no Workflows permission, so it never changes your workflows.

Will it merge something that breaks my main branch?

Section titled “Will it merge something that breaks my main branch?”

It only merges patch and minor Dependabot bumps whose checks are all green and that GitHub reports as cleanly mergeable, pinned to the exact commit that was checked. If your CI does not catch a breaking change, the merge can still break things, and 0.x minor bumps are treated as minor. Run a week in dry-run mode first, and use autoMergeTypes: [patch] or repos.exclude for sensitive repositories.

The status server keeps one SQLite database on its persistent volume:

  • events (kept for 30 days),
  • runs, with their totals,
  • repositories and their last status,
  • security findings (open and resolved), with title, location and a link to GitHub, never secret values,
  • approvals and their status,
  • fix-attempt times and local scan times.

Nothing is sent anywhere except to GitHub, and to Anthropic when Claude Code runs a fix. The fixer sends the PR title, the failing CI log tail and the files Claude reads in the clone.

How do I see what it would do before it changes anything?

Section titled “How do I see what it would do before it changes anything?”

Leave dryRun: true, the shipped default. Every merge, comment, branch deletion and fixer push becomes an action.would_* event in the widget. See Dry-run mode.

A branch I needed was deleted. Can I get it back?

Section titled “A branch I needed was deleted. Can I get it back?”

Yes, if you act soon. Every deletion emits branch.deleted with the last commit SHA. See Restore a deleted branch. Add the name to branches.keep so it doesn’t happen again.

No. The images are built for linux/amd64 only, because the bundled scanner binaries and their checksums are for amd64. The desktop app runs on Linux (amd64), macOS (Intel and Apple Silicon) and Windows.

Delete the namespace, which removes the CronJob, the status server, the secrets and the database volume claim:

Terminal window
kubectl delete namespace gh-maintainer

If your overlay used the deploy/components/private-ca component, also remove its cluster-wide and cert-manager objects:

Terminal window
kubectl delete clusterissuer gh-maintainer-ca gh-maintainer-selfsigned
kubectl -n cert-manager delete certificate gh-maintainer-ca
kubectl -n cert-manager delete secret gh-maintainer-ca

Finally, revoke the fine-grained GitHub token in your GitHub settings, remove the private CA from your clients if you trusted it (sudo update-ca-certificates --fresh after deleting the file) and uninstall the desktop app. Depending on the storage class’s reclaim policy, the database volume may outlive the claim; check with kubectl get pv.