Deploy job is always "skipped" even though build succeeded.
IntermediateTroubleshootingExpressions, Outputs, Matrix & Conditions
Answer
Likely causes → Another job in needs was skipped (path filter or condition), which skips dependents; or the if expression is false (wrong ref comparison like github.ref == 'main').
Diagnose →
gh run view <id> --json jobs --jq '.jobs[] | {name, conclusion}'
Fix → Compare full refs (refs/heads/main) or use github.ref_name == 'main'; handle skipped needs with if: ${{ !cancelled() && needs.build.result == 'success' }}.
Prevent → Dump toJSON(needs) in a debug step when designing conditions.
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 when evaluating 'strategy' for job 'build'. .github/workflows/ci.yml (Line: 30, Col: 15): Matrix vector 'service' does not contain any values`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.Beginner