If a job "needs" earlier jobs, and one of the earlier jobs fails, then the "needs" job will be marked as Skipped. A required check that is skipped doesn't block merging. The alls-green action has the correct logic to fail the aggregation job if any of its required jobs fail.