Interview Prep/GitHub Actions/Workflow Anatomy & Execution Model

How do job-level and step-level failures propagate to the run result?

BeginnerConceptWorkflow Anatomy & Execution Model
Answer

A step that exits non-zero fails the job, and remaining steps are skipped unless they have if: always() or if: failure(). A failed job fails the run and causes dependent jobs to be skipped. The run conclusion is the worst job conclusion, except that skipped jobs do not cause failure. continue-on-error: true on a step or job records the failure but treats it as success for flow control, and the step's outcome is failure while its conclusion is success.

All GitHub Actions questions Roadmap: GitHub Actions

More on Workflow Anatomy & Execution Model