From 2ff840decc20182bc722881fa0e8b8c3a8cd9c64 Mon Sep 17 00:00:00 2001 From: Alex Pilon Date: Fri, 6 Sep 2019 15:22:43 -0400 Subject: [PATCH] apply special label for PRs affecting sdk paths will be used during interim period of core and sdks dual existance --- .hashibot.hcl | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/.hashibot.hcl b/.hashibot.hcl index 33ce894e1..48900fbdf 100644 --- a/.hashibot.hcl +++ b/.hashibot.hcl @@ -1,3 +1,35 @@ +behavior "pull_request_path_labeler" "sdk_cherrypicker" { + label_map = { + "sdkv1" = [ + # 1-1 package mapping between core and sdk + "helper/**", + "httpclient/**", + "plugin/**", + "terraform/**", + "internal/earlyconfig/**", + "internal/initwd/**", + "internal/modsdir/**", + "internal/tfplugin5/**", + # these packages have been moved under internal/ in the sdk + "addrs/**", + "command/format/**", + "configs/**", + "dag/**", + "flatmap/**", + "lang/**", + "moduledeps/**", + "plans/**", + "providers/**", + "provisioners/**", + "registry/**", + "states/**", + "svchost/**", + "tfdiags/**", + "version/**" + ] + } +} + behavior "regexp_issue_labeler" "panic_label" { regexp = "panic:" labels = ["crash", "bug"]