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 !

changed is not a supported status type, however, this is planned. You can subscribe to the following issue for updates https://github.com/drone/drone/issues/2072

Hello,
This is something quite important for us. How can we help in making it happen?
The issue doesn’t exist anymore unfortunately.

Olivier

Hi, is this supported yet? If not, are there any workarounds at the moment?

@bradrydzewski
The link to the github issue above seems to be deleted.