addReview = async (
  octokit,
  prNumber,
  owner,
  repo,
  reviewState,
  reason,
) => {
  await octokit.rest.pulls.createReview({
    owner,
    repo,
    pull_number: prNumber,
    event: reviewState,
    body: reason,
  });
}
Adds a review to the pull request.

@param {Object} octokit Octokit instance.
@param {number} prNumber Pull request number.
@param {string} owner Owner of the repository.
@param {string} repo Repository name.
@param {string} reviewState The review state. Options are (APPROVE, REQUEST_CHANGES, COMMENT, PENDING).
@param {string} reason The reason for the review.
@returns {Promise<void>} Promise.