From 67d59fcba2f836256aac34bf97532ae3ea4e4154 Mon Sep 17 00:00:00 2001 From: Siddhartha Basu Date: Wed, 9 Aug 2023 18:57:01 -0500 Subject: [PATCH] chore(.kodiak.toml): add .kodiak.toml configuration file for Kodiak CI The .kodiak.toml file is added to the repository to configure the behavior of the Kodiak CI tool. This file specifies the version of the configuration, sets up automatic merging of pull requests labeled with "dependencies" or "automerge", and defines the merge method as "rebase". It also configures automatic merging of PRs opened by the "dependabot" user that are "minor" or "patch" version upgrades, while ignoring "major" version upgrades. Additionally, it specifies that the "dependabot" user should be ignored when using the `update.always` option to allow dependabot to update and close stale dependency upgrades. --- .kodiak.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .kodiak.toml diff --git a/.kodiak.toml b/.kodiak.toml new file mode 100644 index 0000000..0c3be32 --- /dev/null +++ b/.kodiak.toml @@ -0,0 +1,14 @@ +version = 1 +[merge] +automerge_label = ["dependencies","automerge"] +method = "rebase" + +[merge.automerge_dependencies] +# auto merge all PRs opened by "dependabot" that are "minor" or "patch" version upgrades. "major" version upgrades will be ignored. +versions = ["minor", "patch"] +usernames = ["dependabot"] + +# if using `update.always`, add dependabot to `update.ignore_usernames` to allow +# dependabot to update and close stale dependency upgrades. +[update] +ignored_usernames = ["dependabot"]