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

What does `continue-on-error` at job level do to the run and to branch protection?

IntermediateConceptJobs, Steps, Matrix & Concurrency
Answer

The job can fail without failing the run, and needs.<job>.result reports success for dependents, so the pipeline continues. The job itself is still shown with a failure marker in the run UI, which is easy to ignore. Do not rely on it for required checks; gate merges on a fan-in job you control. Typical use is an experimental matrix leg:

continue-on-error: ${{ matrix.experimental == true }}

Do not use it to hide flaky tests; the failure disappears from everyone's attention.

All GitHub Actions questions Roadmap: GitHub Actions

More on Jobs, Steps, Matrix & Concurrency