Skip to content

Commit d967a57

Browse files
committed
chore: add kodiak configuration for automated PR management
- Configure Kodiak for automatic PR merging - Use squash merge to maintain linear history - Auto-approve and auto-merge dependabot PRs (minor and patch versions) - Automatically delete merged branches
1 parent 336765e commit d967a57

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.kodiak.toml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# .kodiak.toml
2+
# Minimal config. version is the only required field.
3+
version = 1
4+
5+
[merge]
6+
# Use squash to maintain linear history (required when "Require linear history" is enabled)
7+
method = "squash"
8+
# Automatically delete branches after merge
9+
delete_branch_on_merge = true
10+
11+
[update]
12+
always = true # default: false
13+
require_automerge_label = false # default: true
14+
ignored_usernames = ["dependabot"]
15+
16+
[merge.automerge_dependencies]
17+
# auto merge all PRs opened by "dependabot" that are "minor" or "patch" version upgrades. "major" version upgrades will be ignored.
18+
versions = ["minor", "patch"]
19+
usernames = ["dependabot"]
20+
21+
[approve]
22+
# note: remove the "[bot]" suffix from GitHub Bot usernames.
23+
# Instead of "dependabot[bot]" use "dependabot".
24+
auto_approve_usernames = ["dependabot"]

0 commit comments

Comments
 (0)