# GitHub Actions CI/CD Workflow Generator

> GitHub Actions CI/CD Workflow Generator is a paid API for AI agents from api.strale.io, paid per call via x402, $0.162/call, status unknown (last checked 2026-09-13).

Generates production-ready CI/CD workflow YAML files for GitHub Actions, supporting multiple languages, frameworks, and deploy targets like Railway, Vercel, and Fly.

## Facts

- Endpoint: GET https://api.strale.io/x402/github-actions-generate
- Price: $0.162/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-4dcb6e1d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PjuciUWl6Mzrx0FOTeNrF

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 api-strale-io-4dcb6e1d
```

Example prompt: Generate a GitHub Actions CI/CD workflow YAML for my Node.js Express app using the framework 'express', deploying to Railway, with push and pull_request triggers.

## When to prefer this

Choose this endpoint when you need to instantly scaffold a GitHub Actions CI/CD workflow without manually writing YAML, especially when targeting popular deploy platforms like Railway, Vercel, or Fly and working with well-known languages and frameworks.

## Known failure modes

- Missing required 'language' query parameter returns a validation error
- Unsupported language or framework combination may yield a generic or incomplete workflow
- Invalid deploy_target value may result in missing deploy step configuration
- Payment failure (HTTP 402) if USDC payment is not properly handled
- Rate limiting or service unavailability returns 5xx errors

## How this service works

Generate CI/CD workflow YAML for GitHub Actions. Supports multiple languages, frameworks, and deploy targets (Railway, Vercel, Fly).

## Output

Returns a complete, production-ready GitHub Actions YAML workflow file tailored to the specified language, framework, and deploy target, including appropriate build, test, and deploy steps with best practices applied.

## Example request

```json
{
 "steps": [
  "install",
  "test",
  "build",
  "deploy"
 ],
 "language": "javascript",
 "triggers": [
  "push",
  "pull_request"
 ],
 "framework": "express",
 "deploy_target": "railway"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "language"
     ],
     "properties": {
      "steps": {
       "type": "array"
      },
      "language": {
       "type": "string"
      },
      "triggers": {
       "type": "array"
      },
      "framework": {
       "type": "string"
      },
      "deploy_target": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-4dcb6e1d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
