generate_ci_workflow
Generate a ready-to-commit GitHub Actions workflow that gates a build on IA-QA: "eval_contract" runs a .ia-eval.yaml through ia-qa-com/eval-action@v1 (needs a provider key as a repo secret), "cli_checks" runs deterministic tools via npx @ia-qa/cli and fails the build on their verdict, "selector_drift" gates E2E selectors with @ia-qa/self-healing. Deterministic template, no LLM. Returns the YAML, the secrets to create and the next steps. Pair with generate_eval_yaml for the contract.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_ci_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cron | No | For schedule (default '0 6 * * 1'). | |
| gate | No | Default eval_contract. both = CLI checks + eval; all = CLI checks, drift, eval. | |
| provider | No | Decides which repo secret is wired (default groq). | |
| triggers | No | Default push + pull_request. | |
| cli_tools | No | Tools to gate on, e.g. ["secret_scan","prompt_injection_scan"]. | |
| min_score | No | Override the contract min_score (0-100). | |
| app_base_url | No | [selector_drift] Default http://127.0.0.1:3000; must match .ia-qa/config.json. | |
| fail_on_fail | No | Default true; false reports without gating. | |
| node_version | No | Default "20". | |
| contract_path | No | Default evals/smoke.ia-eval.yaml. | |
| workflow_name | No | ||
| app_start_command | No | [selector_drift] Boots the app, e.g. "npm run start:ci". Never guessed: omitted, the step is a TODO. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gate | No | ||
| path | No | ||
| yaml | No | ||
| notes | No | ||
| next_steps | No | ||
| secrets_required | No |