> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# On GitHub pull request review submitted

> Start an automation when any pull request review is submitted.

`onGitHubPullRequestReviewSubmitted` emits approvals, comments, and change requests when their action is `"submitted"`.

```ts automations/watch-submitted-github-reviews.automation.ts theme={null}
import { automation } from "automate.ax"
import { onGitHubPullRequestReviewSubmitted } from "automate.ax/github"

export default automation("Watch submitted GitHub reviews", () => {
  const event = onGitHubPullRequestReviewSubmitted()
  event.transform(({ pull_request, review }) => ({
    pullRequest: pull_request.number,
    state: review.state,
  }))
})
```

Optional static `account` defaults to the project binding. Returns `Signal<GitHubPullRequestReviewSubmittedEvent>` with `action: "submitted"` and the complete typed review payload. Approvals and change requests also emit their narrower semantic trigger when subscribed.
