Run pipeline step on status change (similar to BitBucket build fixed event)

Hey hoping that someone can help me with that. I want to run a plugin (slack-blame) on failure and when the status goes back to success after failing. I could do that on BitBucket with the build fixed event, but I can’t figure out how to reproduce this with Drone. Right now I’m using this:


when:
status: [ failure, changed ]

but it’s working only on failed builds.

Thanks for your time !