async requestReviews(github, suggestedReviewers) {
    const optOut = process.env.ADD_REVIEWERS_OPT_OUT;
    const optOutTagPresent = DONT_ADD_REVIEWERS_TAG.test(this.pr.description);
    const optInTagPresent = ADD_REVIEWERS_TAG.test(this.pr.description);

    if ((optOut && !optOutTagPresent) || (!optOut && optInTagPresent)) {
      const reviewRequests = this.getReviewersToRequest(suggestedReviewers);
      await github.createReviewRequests(this.pr.number, reviewRequests);
      return reviewRequests;
    }

    return [];
  }
/**
   * Requests reviews from owners.
   *
   * Only requests reviews if the PR description contains the #addowners tag.
   *
   * @param {!GitHub} github GitHub API interface.
   * @param {!Array<string>} suggestedReviewers suggested reviewers to add.
   * @return {!Array<string>} list of reviewers requested.
   */
Requests reviews from owners.
Only requests reviews if the PR description contains the #addowners tag.


Requests reviews from owners . Only requests reviews if the PR description contains the #addowners tag .
async requestReviews(github, suggestedReviewers) {
    const optOut = process.env.ADD_REVIEWERS_OPT_OUT;
    const optOutTagPresent = DONT_ADD_REVIEWERS_TAG.test(this.pr.description);
    const optInTagPresent = ADD_REVIEWERS_TAG.test(this.pr.description);
    if ((optOut && !optOutTagPresent) || (!optOut && optInTagPresent)) {
      const reviewRequests = this.getReviewersToRequest(suggestedReviewers);
      await github.createReviewRequests(this.pr.number, reviewRequests);
      return reviewRequests;
    }
    return [];
  }
async requestReviews ( github , suggestedReviewers ) { const optOut = process . env . ADD_REVIEWERS_OPT_OUT ; const optOutTagPresent = DONT_ADD_REVIEWERS_TAG . test ( this . pr . description ) ; const optInTagPresent = ADD_REVIEWERS_TAG . test ( this . pr . description ) ; if ( ( optOut && ! optOutTagPresent ) || ( ! optOut && optInTagPresent ) ) { const reviewRequests = this . getReviewersToRequest ( suggestedReviewers ) ; await github . createReviewRequests ( this . pr . number , reviewRequests ) ; return reviewRequests ; } return [ ] ; }
Requests reviews from owners.
Requests reviews from owners .