# Forest Infra – GitHub Actions Workflow State

> Forest Infra – GitHub Actions Workflow State is a paid API for AI agents from http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-02).

Reads and normalizes the latest public GitHub Actions workflow run state for a given repository and workflow, returning a clean status snapshot.

## Facts

- Endpoint: POST https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/repo/actions-state?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forest-infra-github-actions-workflow-state-aeaa5abc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kBlYBDMqQMWRN7zPu13E9

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability forest-infra-github-actions-workflow-state-aeaa5abc -d '<json body>'
```

Example prompt: Can you check the current GitHub Actions workflow state for the vercel/next.js repository — specifically the 'build' workflow — and tell me if the latest run passed or failed?

## When to prefer this

Use this endpoint when you need a clean, normalized read of the latest GitHub Actions workflow run state for a public repository without building GitHub API auth or parsing raw API responses yourself. Prefer it over direct GitHub API calls when you want a consistent status format and are only interested in read-only state (not dispatching, rerunning, or cancelling workflows). Not suitable for private repositories, OAuth-authenticated access, or any write/trigger operations.

## Known failure modes

- Repository not found or is private — endpoint only supports public repositories
- Workflow name does not match any workflow file in the repository
- GitHub API rate limiting causing inability to fetch run state
- Malformed repository input (must match owner/name pattern)
- No workflow runs found yet for the specified workflow
- Service unavailable or timeout from upstream GitHub API

## How this service works

Normalize the latest public GitHub Actions workflow/run state. Reads only; dispatch, rerun, cancellation, private repositories and customer OAuth are unsupported. Base mainnet USDC

## Output

A normalized snapshot of the latest public GitHub Actions workflow run for the specified repository and workflow, including the run's current status and conclusion in a clean, consistent format. Does not include private repo data, dispatch results, or rerun/cancellation history.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "workflow": {
   "type": "string",
   "maxLength": 256,
   "minLength": 1,
   "description": "Repository branch whose current state should be checked."
  },
  "repository": {
   "type": "string",
   "pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$",
   "maxLength": 200,
   "description": "Public owner/name repository to inspect."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forest-infra-github-actions-workflow-state-aeaa5abc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run](https://www.zero.xyz/host/http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/llms.txt)
