CI/CD validate workflow YAML
cicd_validate_workflow_yamlValidate a GitHub Actions workflow YAML string against Ankra's platform invariants (one 'build-and-push' job, expected step sequence, --password-stdin, lowercased GHCR owner, multi-arch platforms, ankra-*-scan artifact names, pinned action versions). Use this to inspect a customer's pre-existing workflow before splicing security steps. Returns severity and per-violation keys.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"content": "<content>"
},
"name": "cicd_validate_workflow_yaml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Full workflow YAML content (typically read via github_read_file). |