From 184e8920a061f9c93ef104baf577f391d507d6e4 Mon Sep 17 00:00:00 2001 From: Zain Fathoni Date: Mon, 13 Jun 2022 01:49:04 +0800 Subject: [PATCH] ci(kodiak): setup Kodiak bot https://github.com/zainfathoni/pkode/blob/main/docs/new-project.md#setup-kodiak-bot --- .kodiak.toml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .kodiak.toml diff --git a/.kodiak.toml b/.kodiak.toml new file mode 100644 index 0000000..8d77080 --- /dev/null +++ b/.kodiak.toml @@ -0,0 +1,21 @@ +# docs: https://kodiakhq.com/docs/config-reference +version = 1 + +[merge] + +# docs: https://kodiakhq.com/docs/config-reference#mergedelete_branch_on_merge +# Once a PR is merged, delete the branch. This option behaves like the GitHub +# repository setting "Automatically delete head branches", which automatically +# deletes head branches after pull requests are merged. +delete_branch_on_merge = true + +# docs: https://kodiakhq.com/docs/recipes#better-merge-messages +[merge.message] +title = "pull_request_title" +include_pr_number = true + +# docs: https://kodiakhq.com/docs/recipes#adding-pull-request-approvals-to-dependabot-pull-requests +[approve] +# note: remove the "[bot]" suffix from GitHub Bot usernames. +# Instead of "dependabot[bot]" use "dependabot". +auto_approve_usernames = ["allcontributors", "zainfathoni"]