I need to skip a build from running it.
Suppose there is a env variable in circleci environment CANCEL_BUILD=true
if it is “true”, I need to cancel the build. I do not want to show a failure status because of the cancellation. I want the build status to be cancelled or stopped.
Any help would be appreciated.