skgandikota/Matrix Generator

Dynamically generate a matrix JSON for GitHub Actions matrix strategy from inputs, files, or JSON arrays.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
valuesComma-separated values OR a JSON array (e.g. "a,b,c" or "[\"a\",\"b\",\"c\"]").no""
jsonRaw JSON array of objects for complex matrices (e.g. [{"os":"ubuntu","node":"18"},{"os":"macos","node":"20"}]).no""
filePath to a JSON file containing the matrix array.no""
nameMatrix variable name when using "values" input (used as the key in output JSON).novalue
filterJSONPath-style filter to exclude items (e.g. "os!=windows" or "node>=18").no""
includeJSON array of additional combinations to include.no[]
excludeJSON array of combinations to exclude.no[]
namedescription
matrixThe generated matrix JSON object, ready for fromJSON() in matrix strategy.
lengthNumber of matrix combinations.
is_emptyWhether the matrix has zero combinations (true/false).