Skip to content

Commit

Permalink
Merge pull request #10400 from terraform-providers/d-provider-contrib…
Browse files Browse the repository at this point in the history
…uting-new-service-labeling

docs/provider: Add .hashibot.hcl changes to New Service checklist
  • Loading branch information
bflad committed Oct 9, 2019
2 parents 895f305 + 5b45e14 commit d07f40d
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,35 @@ into Terraform.
`quicksightconn: quicksight.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["quicksight"])})),`
- In `website/docs/guides/custom-service-endpoints.html.md`: Add the service
name in the list of customizable endpoints.
- In `.hashibot.hcl`: Add the new service to automated issue and pull request labeling. e.g. with the `quicksight` service

```hcl
behavior "regexp_issue_labeler_v2" "service_labels" {
# ... other configuration ...
label_map = {
# ... other services ...
"service/quicksight" = [
"aws_quicksight_",
],
# ... other services ...
}
}
behavior "pull_request_path_labeler" "service_labels"
# ... other configuration ...
label_map = {
# ... other services ...
"service/quicksight" = [
"**/*_quicksight_*",
"**/quicksight_*",
],
# ... other services ...
}
}
```

- Run the following then submit the pull request:

```sh
Expand Down

0 comments on commit d07f40d

Please sign in to comment.