Cancelled Status Conditional

I have some projects that modify resources (e.g. DynamoDB) external to the host that a Drone job runs on. I can run cleanup tasks if a job fails using when.status but I haven’t figured out a way to handle cleanup if the job is cancelled. It would be super helpful if there were a when.status operator for cancelled!

1 Like