> ## 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 workflow run started

> Start an automation when a GitHub Actions workflow run starts.

`onGitHubWorkflowRunStarted` maps GitHub's `"in_progress"` action to a semantic started event.

```ts automations/watch-started-github-workflows.automation.ts theme={null}
import { automation } from "automate.ax"
import { onGitHubWorkflowRunStarted } from "automate.ax/github"

export default automation("Watch started GitHub workflows", () => {
  const event = onGitHubWorkflowRunStarted()
  event.transform(({ workflow_run }) => ({
    branch: workflow_run.head_branch,
    runId: workflow_run.id,
  }))
})
```

Optional static `account` defaults to the project binding. Returns `Signal<GitHubWorkflowRunStartedEvent>` with `action: "in_progress"` and the complete typed workflow-run payload. The installation needs Actions read permission.
