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.
More on Workflow Anatomy & Execution Model
Define workflow, run, job, step, action and runner in one line each.BeginnerWhat is the minimum valid workflow file?BeginnerWhere must workflow files live, and does the file extension matter?BeginnerWhich version of the workflow file does GitHub use for a given run?IntermediateWhat does a GitHub-hosted runner give you at the start of a job?BeginnerShould you use `ubuntu-latest` or `ubuntu-24.04`?Beginner