Skip to content

Commit

Permalink
Various hashibot labeling fixes/additions (#10732)
Browse files Browse the repository at this point in the history
* provider: Hashibot issue/PR matching for CloudTrail should not include trailing underscore

Reference: #10730

The CloudTrail Trail resource is named just `aws_cloudtrail`.

* provider: Hashibot pull request labeling for route53resolver should include underscore

Reference: #10348

* provider: Add missing pull request labeling for qldb

Reference: #10394

* provider: Fix hashibot pull request labeling for athena

Reference: #10609

* provider: Ensure hashibot labeling for apigateway catches aws_api_gateway_vpc_link

Reference: #10561
  • Loading branch information
bflad authored Nov 4, 2019
1 parent dceb834 commit f5b1da3
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .hashibot.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ behavior "regexp_issue_labeler_v2" "service_labels" {
"aws_cloudsearch_",
],
"service/cloudtrail" = [
"aws_cloudtrail_",
"aws_cloudtrail",
],
"service/cloudwatch" = [
"aws_cloudwatch_([^e]|e[^v]|ev[^e]|eve[^n]|even[^t]|event[^_]|[^l]|l[^o]|lo[^g]|log[^_])",
Expand Down Expand Up @@ -536,7 +536,9 @@ behavior "pull_request_path_labeler" "service_labels" {
]
"service/apigateway" = [
"**/*_api_gateway_[^v][^2][^_]*",
"**/api_gateway_[^v][^2][^_]*"
"**/*_api_gateway_vpc_link*",
"**/api_gateway_[^v][^2][^_]*",
"**/api_gateway_vpc_link*"
]
"service/apigatewayv2" = [
"**/*_api_gateway_v2_*",
Expand Down Expand Up @@ -567,7 +569,7 @@ behavior "pull_request_path_labeler" "service_labels" {
"**/appsync_*"
]
"service/athena" = [
"service/athena",
"**/*_athena_*",
"**/athena_*"
]
"service/autoscaling" = [
Expand Down Expand Up @@ -617,8 +619,8 @@ behavior "pull_request_path_labeler" "service_labels" {
"**/cloudsearch_*"
]
"service/cloudtrail" = [
"**/*_cloudtrail_*",
"**/cloudtrail_*"
"**/*_cloudtrail*",
"**/cloudtrail*"
]
"service/cloudwatch" = [
"**/*_cloudwatch_dashboard*",
Expand Down Expand Up @@ -977,6 +979,10 @@ behavior "pull_request_path_labeler" "service_labels" {
"**/*_pricing_*",
"**/pricing_*"
]
"service/qldb" = [
"**/*_qldb_*",
"**/qldb_*"
]
"service/quicksight" = [
"**/*_quicksight_*",
"**/quicksight_*"
Expand Down Expand Up @@ -1020,8 +1026,8 @@ behavior "pull_request_path_labeler" "service_labels" {
"**/route53_domains_*"
]
"service/route53resolver" = [
"**/*_route53resolver_*",
"**/route53resolver_*"
"**/*_route53_resolver_*",
"**/route53_resolver_*"
]
"service/s3" = [
"**/*_s3_bucket*",
Expand Down

0 comments on commit f5b1da3

Please sign in to comment.