From d552f127072ba7af942a7ace13816f256b09d6cf Mon Sep 17 00:00:00 2001 From: Vishnu Bharathi Date: Tue, 22 Dec 2020 05:18:16 +0530 Subject: [PATCH] updates kodiak bot settings * init kodiak bot configuration * adds kodiak commit message to PR body GitOrigin-RevId: 58b0033be2ac9c0c757319a1a5f735e53f08307b --- .kodiak.toml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.kodiak.toml b/.kodiak.toml index 9d4985ff1e1..fef96db0471 100644 --- a/.kodiak.toml +++ b/.kodiak.toml @@ -83,17 +83,17 @@ title = "pull_request_title" # default: "github_default", options: "github_defau # to create the body text of a merge commit. `"pull_request_body"` uses the # content of the PR to generate the body content while `"empty"` sets an empty # body. -body = "empty" # default: "github_default", options: "github_default", "pull_request_body", "empty" +body = "pull_request_body" # default: "github_default", options: "github_default", "pull_request_body", "empty" # Append the Pull Request URL to the merge message. Makes navigating to the PR # from the commit easier. -include_pull_request_url = true # default: false +include_pull_request_url = false # default: false # Add the PR number to the merge commit title. This setting replicates GitHub's # behavior of automatically adding the PR number to the title of merges created # through the UI. This option only applies when `merge.message.title` does not # equal `"github_default"`. -include_pr_number = true # default: true +include_pr_number = false # default: true # Control the text used in the merge commit. The GitHub default is markdown, but # `"plain_text"` or `"html"` can be used to render the pull request body as text @@ -104,7 +104,13 @@ body_type = "markdown" # default: "markdown", options: "plain_text", "markdown", # Strip HTML comments (``) from merge commit body. # This setting is useful for stripping HTML comments created by PR templates. # This option only applies when `merge.message.body_type = "markdown"`. -strip_html_comments = false # default: false +strip_html_comments = true # default: false + +# Remove all content before the configured string in the pull request body. +# This setting is useful when we want to include only a part of the pull request +# description as the commit message. +# This option only applies when `merge.message.body_type = "markdown"`. +cut_body_before = "" [update]