github.createPullRequestReview submits one review without inline comments.
automations/approve-github-pull-request.automation.ts
owner, repository, positive integer pullRequestNumber, and event. The event accepts "APPROVE", "COMMENT", or "REQUEST_CHANGES". A non-empty body is required for comments and change requests and optional for approvals. commitId defaults to the current head commit. Optional second argument { account } defaults to the project binding. Inputs accept compatible signals.
Returns the review’s id and state. GitHub rejects approvals by the pull request author and reviews of inaccessible commits.