Broken action does not show as failure

We have an action which I just modified. In the process I changed a job name which another job has listed under needs:. This lead to the result that the PR did not show any checks and everything was shown green. When actively looking in the action tab one can see the error: “The workflow is not valid. Job A depends on unknown job B. Job slack-workflow-status depends on job install-crd-deploy-operator which creates a cycle in the dependency graph.”

I would expect that such an error marks the PR as failed.