apply special label for PRs affecting sdk paths

will be used during interim period of core and sdks dual existance
This commit is contained in:
Alex Pilon 2019-09-06 15:22:43 -04:00
parent f9ebae749c
commit 2ff840decc
No known key found for this signature in database
GPG Key ID: 95659F6AEFC48D7E
1 changed files with 32 additions and 0 deletions

View File

@ -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"]