A GitHub bot to automatically update and merge GitHub PRs
open sourceAGPL-3.0self-hostablefree
Kodiak is a GitHub App that keeps pull requests up to date with their base branch and merges them once CI and approvals pass, either when they carry an automerge label or for every pull request, configured in a .kodiak.toml file. It can merge and auto-approve Dependabot or Renovate updates by version type, for example minor and patch only, writes merge commit messages from the pull request, comments on merge conflicts and deletes merged branches. Since v0.61.0 (October 2026) it adds pull requests to GitHub's merge queue when the branch requires one. It's AGPL-3.0, free for personal and public repositories, and can be self-hosted with Redis.
Problems it solves
- merge a pull request automatically once CI and approvals pass, just by adding a label
- auto-merge Dependabot's minor and patch updates but leave major ones for review
- approve dependency bot pull requests automatically so branch protection doesn't block them
- keep open pull requests up to date with main without clicking update branch on each
- we require branches to be up to date and the pull requests queue behind each other all day
- write a clean merge commit message from the pull request title and body
- tell the author when a merge conflict stops their pull request merging
- delete branches as soon as their pull requests merge
- run our own pull request auto-merge bot on our own infrastructure
Features
- auto-merge by label or for all pull requests once CI and approvals pass
- auto-update branches, or only when needed (Eco Merge)
- merge Dependabot or Renovate updates by version type (merge.automerge_dependencies)
- auto-approve pull requests from chosen bots (approve.auto_approve_usernames)
- adds pull requests to GitHub's merge queue when the branch requires it
- merge commit messages built from the pull request title, body and number
- merge conflict comments and branch deletion after merge
- configured in .kodiak.toml
- web dashboard for activity, usage and billing
- self-hostable Docker image
Limitations
Ways to run it
Kodiak GitHub App
free for personal use and public repositories; $4.99 per active user per month for private organization repositories34
Only in this edition
- hosting, the web dashboard and updates
Self-hosted Kodiak
free5
You arrange
- your own GitHub App, with its ID, secret and private key
- Redis 5
- a container host (the docs walk through Heroku)
Alternatives
The same job
These do what Kodiak does.
- Mergify More pull requests. Same green main.
