> ## 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 ready for review

> Start an automation when a draft pull request becomes ready for review.

`onGitHubPullRequestReadyForReview` emits the `"ready_for_review"` transition from draft to reviewable.

```ts automations/watch-reviewable-github-pull-requests.automation.ts theme={null}
import { automation } from "automate.ax"
import { onGitHubPullRequestReadyForReview } from "automate.ax/github"

export default automation("Watch reviewable GitHub pull requests", () => {
  const event = onGitHubPullRequestReadyForReview()
  event.transform(({ pull_request }) => ({
    pullRequest: pull_request.number,
    title: pull_request.title,
  }))
})
```

Optional static `account` defaults to the project binding. Returns `Signal<GitHubPullRequestReadyForReviewEvent>` with `action: "ready_for_review"` and the complete typed payload. Opening a pull request that was never a draft does not emit this trigger.
