Step conditional on status transition from failure() to success()?

We send a notification on Slack when a job fails. This is detected using an if: failure() conditional check. Now I’d also like to send a Slack notification when the job transitions from failure() to success() but not on every successful build. Is this kind of state transition possible to detect?

Hi britzl, 

Sorry to tell you that there is not a event to track job status transition. So your requirement could not be reached currently.

Any plans for such a feature? This is the only annoyance we have ran into while transitioning away from Travis. A verified/endorsed action for Slack notifications would be nice as well.

Hi kornholi,

If you have feedback or feature requests for GitHub Actions, share those in the Feedback form for GitHub Actions.