Stop a build from a job

So, I found out that I can stop a job, successfully, using circleci step halt.

But I would like to skip/cancel an entire build/workflow from a job. Everything but a failed state is acceptable.

How can I achieve that?