GitHub Actions continue-on-error on a matrix can hide failures across every leg

A job-level continue-on-error key in a GitHub Actions matrix applies to every combination the matrix generates, not just the one intended. As a result, a single failing leg can be tolerated for all legs, and the overall run still reports success. Such failures often go unnoticed because required checks pass and merges proceed without alerts. The article suggests scoping the key to specific legs using a matrix flag and an expression, and separating fail-fast behavior from continue-on-error. It also recommends checking individual job conclusions in recent runs to spot legs that have been quietly failing.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in