Merge pull request #22723 from hashicorp/appilon/sdk-cherrypick-label

[hashibot] Apply special label for PRs affecting sdk paths
This commit is contained in:
appilon 2019-09-06 17:58:30 -04:00 committed by GitHub
commit 2af1fab90c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"]