Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

github actions: notifications on workflow failure

We have a scheduled github action that fails sometimes. How can I receive email notifications if it fails. At the moment, only the creator of the workflow receives email notifications when it fails.

my settings

like image 265
Sam Shleifer Avatar asked Jun 10 '20 13:06

Sam Shleifer


1 Answers

You may be looking for this: https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#job-status-check-functions

Specifically, if: ${{ failure() }}

like image 59
Sai Avatar answered Oct 12 '22 12:10

Sai