code: func (s *RepositoriesService) GetCommunityHealthMetrics(ctx context.Context, owner, repo string) (*CommunityHealthMetrics, *Response, error) {
  	u := fmt.Sprintf("repos/%v/%v/community/profile", owner, repo)
  	req, err := s.client.NewRequest("GET", u, nil)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	// TODO: remove custom Accept header when this API fully launches.
  	req.Header.Set("Accept", mediaTypeRepositoryCommunityHealthMetricsPreview)
  
  	metrics := &CommunityHealthMetrics{}
  	resp, err := s.client.Do(ctx, req, metrics)
  	if err != nil {
  		return nil, resp, err
  	}
  
  	return metrics, resp, nil
  }
docs: // GetCommunityHealthMetrics retrieves all the community health  metrics for a  repository.
  //
  // GitHub API docs: https://developer.github.com/v3/repos/community/#retrieve-community-health-metrics