At the moment the status badge indicates the status of the last run workflow. However, with the introduction of pipelines you may have multiple workflows that run within a pipeline. With the current status badge the order of those workflows could matter and if one fails but others run after and pass the status badge shows as passing.
The pipeline status should look at all the workflows within the pipeline and if any of them are failing, it should show a failure badge.