Skip to content

Commit

Permalink
chore(kodiak): adding kodiak config for auto merging and updating (ca…
Browse files Browse the repository at this point in the history
…rbon-design-system#3167)

This utilizes Kodiak, which is a github app that Carbon team is currently utilizing and appears to work fine. The app has already been enabled in repo settings.
  • Loading branch information
jeffchew authored Jul 15, 2020
1 parent 0f979eb commit a3bcc15
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .kodiak.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# .kodiak.toml
# full documentation: https://kodiakhq.com/docs/config-reference
version = 1

[merge]
# Label to enable Kodiak to merge a PR.

# By default, Kodiak will only act on PRs that have this label. You can disable
# this requirement via `merge.require_automerge_label`.
automerge_label = "Ready to merge" # default: "automerge"

# Choose merge method for Kodiak to use.
#
# Kodiak will report a configuration error if the selected merge method is
# disabled for a repository.
#
# If you're using the "Require signed commits" GitHub Branch Protection setting
# to require commit signatures, "merge" or "squash" are the only compatible options. "rebase" will cause Kodiak to raise a configuration error.
method = "squash" # default: "merge", options: "merge", "squash", "rebase"

[merge.message]
# By default (`"github_default"`), GitHub uses the title of a PR's first commit
# for the merge commit title. `"pull_request_title"` uses the PR title for the
# merge commit.
title = "pull_request_title" # default: "github_default", options: "github_default", "pull_request_title"

# By default (`"github_default"`), GitHub combines the titles of a PR's commits
# 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 = "pull_request_body" # default: "github_default", options: "github_default", "pull_request_body", "empty"

0 comments on commit a3bcc15

Please sign in to comment.