A step normally requires earlier steps to succeed. failure() selects a diagnostic after failure; success() selects the ordinary path. always() also considers cancellation and can leave cleanup waiting on work that will never complete. Choose the narrow condition the task needs. A condition without a status function still receives the normal success requirement. Inspect both the failed step and the follow-up step so a skipped diagnostic isn't mistaken for a clean run.
The browser runner evaluates a bounded model of the workflow. It doesn't start a hosted machine, contact GitHub or execute arbitrary shell programs. Use the event and run details to check the result. Saving valid YAML alone doesn't prove that the intended job ran.
Steps normally require prior success. failure() changes that condition for diagnostics; always() also runs for cancellation and needs separate care.