gha_add_matrix
Add a matrix strategy to a GitHub Actions workflow to run tests across multiple versions or configurations. Define dimensions and values to expand test coverage.
Instructions
Add matrix strategy to a GitHub Actions workflow for multi-version testing
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": {
"dimension": "<dimension>",
"values": "<values>"
},
"name": "gha_add_matrix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes | Matrix values to test against | |
| api_key | No | API key for authentication | |
| dimension | Yes | Matrix dimension name (e.g. node-version, os) | |
| fail_fast | No | Stop on first failure (default false) |