`Error when evaluating 'strategy' for job 'build'. .github/workflows/ci.yml (Line: 30, Col: 15): Matrix vector 'service' does not contain any values`
IntermediateTroubleshootingExpressions, Outputs, Matrix & Conditions
Answer
Likely causes → The dynamic matrix list is empty ([]), usually because no services changed.
Diagnose → Print needs.changes.outputs.services in the summary.
Fix →
build:
needs: changes
if: needs.changes.outputs.services != '[]' && needs.changes.outputs.services != ''
Prevent → Always guard dynamic matrices and keep a fan-in job that accepts skipped.
More on Expressions, Outputs, Matrix & Conditions
A downstream job reads `needs.build.outputs.digest` and gets an empty string.Intermediate`Warning: Skip output 'image' since it may contain secret.`Advanced`Error: Unable to process file command 'output' successfully. Error: Invalid format ' "items": ['`Intermediate`Error reading JToken from JsonReader. Path '', line 0, position 0.`Advanced`if: github.event.inputs.deploy == true` never runs the step, even when the box is ticked.BeginnerDeploy job is always "skipped" even though build succeeded.Intermediate