> ## 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 check run rerequested

> Start an automation when someone requests another check run.

`github.onCheckRunRerequested` starts an automation when someone requests that the owning GitHub App run a check again.

```ts automations/github-check-run-rerequested.automation.ts theme={null}
import { automation } from "automate.ax"
import { github } from "automate.ax/github"

export default automation("Rerun GitHub check", () => {
  const event = github.onCheckRunRerequested()
  github.updateCheckRun({
    owner: event.repository.owner.login,
    repository: event.repository.name,
    checkRunId: event.check_run.id,
    status: "queued",
  })
})
```

Returns the typed check-run payload with `action: "rerequested"`. GitHub sends it only to the App that owns the check run. Requires Checks write permission.
