Skip to content

Commit

Permalink
hashibot: Labeling for top level Markdown files and docs/ directories (
Browse files Browse the repository at this point in the history
…hashicorp#13324)

Note: The provider pattern is not just docs/**/* since eventually the provider documentation structure will be moved under there to match the Terraform Registry guidelines: https://www.terraform.io/docs/registry/providers/docs.html
  • Loading branch information
bflad authored and adamdecaf committed May 28, 2020
1 parent ff84803 commit 0c58675
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .hashibot.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ behavior "pull_request_path_labeler" "service_labels" {
label_map = {
# label provider related changes
"provider" = [
"*.md",
".github/**/*",
".gitignore",
".go-version",
Expand All @@ -548,6 +549,8 @@ behavior "pull_request_path_labeler" "service_labels" {
"aws/internal/naming/*",
"aws/provider.go",
"aws/utils.go",
"docs/*.md",
"docs/contributing/**/*",
"GNUmakefile",
"infrastructure/**/*",
"main.go",
Expand All @@ -558,7 +561,10 @@ behavior "pull_request_path_labeler" "service_labels" {
"website/**/partition*",
"website/**/region*"
]
# label test related changes
"documentation" = [
"docs/**/*",
"*.md",
]
"tests" = [
"**/*_test.go",
"**/testdata/**/*",
Expand Down

0 comments on commit 0c58675

Please sign in to comment.