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 (provider key as a repo secret), "cli_checks" runs listed tools via npx @ia-qa/cli and fails on their gate field (review too: not decided is not a pass), "selector_drift" gates E2E selectors with @ia-qa/self-healing. Deterministic template, no LLM; returns the YAML, the secrets and the next steps. Pair with run_eval_contract (draft).
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. Recipes: screen_text and run_pr_gate_pipeline (the diff), package_check (package-lock.json), check_api_contract (openapi.yaml), web_security_audit (vars.TARGET_URL), mcp_server_evaluate (tools-list.json), evaluate_agent_run, evaluate_llm_output (metamorphic), test_skill. A name with no recipe gets a step that reports and does not fail. | |
| 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 |
|---|---|---|---|
| mode | No | ||
| path | No | ||
| yaml | No | ||
| notes | No | ||
| next_steps | No | ||
| secrets_required | No |