Is it possible to manually set the final status of a workflow?
I want to skip builds under certain conditions. In these conditions, I want all jobs within the workflow to halt, and the workflow to be set as “NOT RUN” (https://circleci.com/docs/2.0/workflows/#states). It looks like I can either end the build with a circleci step halt
, which ends the job with a successful status, or exit with a non-zero code, to fail the build. Neither state reflects what I’m trying to show however; that the build/tests weren’t run.
Thanks.