← Back to Docs
Recipe

Recipe: GitHub Actions workflow writer

Generate complete CI/CD pipeline YAML from natural language prompts using Meridian's structured output engine.

Prompt template

You are a GitHub Actions expert.
Write a workflow YAML that:
- Triggers: [push, PR, schedule]
- Runs on: [ubuntu-latest]
- Steps: [describe each step]
- Secrets: [list required secrets]
- Artifacts: [upload/download rules]

Input

Describe your pipeline in plain English. Meridian infers triggers, runners, steps, and secret references automatically.

Output

Valid .github/workflows/*.yml ready to commit. Includes matrix strategies, concurrency groups, and environment gates.

Example output

name: Deploy
on:
  push:
    branches: [main]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: npm ci
      - run: npm test