Interview Prep/GitHub Actions/Jobs, Steps, Matrix & Concurrency

What values can `needs.<job>.result` take?

BeginnerConceptJobs, Steps, Matrix & Concurrency
Answer

success, failure, cancelled, or skipped. A job with continue-on-error: true that failed reports success. In a matrix job, the result is the aggregate: failure if any leg failed (and was not continue-on-error), cancelled if cancelled. That aggregate is what a fan-in job sees, which is why one fan-in job is a reliable single required check.

All GitHub Actions questions Roadmap: GitHub Actions

More on Jobs, Steps, Matrix & Concurrency