Configuring Email Notifications for Workflow Runs #18039
Replies: 21 comments 7 replies
-
+1 for this issue. I have a few scheduled workflows that the whole team should be email about if they fail. Currently only the creator of the workflow gets emailed as specified here -> https://docs.github.com/en/enterprise-cloud@latest/actions/monitoring-and-troubleshooting-workflows/notifications-for-workflow-runs |
Beta Was this translation helpful? Give feedback.
-
Could we get a response from the team here? It is absolutely wild to me that there's no way to properly notify people when a workflow fails. That's one of the most basic features of a CI system. |
Beta Was this translation helpful? Give feedback.
-
I don't know about email but there is the |
Beta Was this translation helpful? Give feedback.
-
This seems to be a solution: https://github.com/dawidd6/action-send-mail |
Beta Was this translation helpful? Give feedback.
-
I was going to file a similar issue, but found this one. I don't think having an action should be required, this should be part of the workflow definition. An action would require an external SMTP with credentials, without forgetting that some organizations only allow vetted actions for security reasons. From this page, for scheduled jobs:
That is not very flexible. It should be possible to specify in the workflow who should receive notifications for failures, by providing usernames or group aliases. Example: on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '30 5,17 * * *'
- notify:
- @SOMEUSER
- @SOMEALIAS Or it could be defined at root level, same as |
Beta Was this translation helpful? Give feedback.
-
+1 on this. |
Beta Was this translation helpful? Give feedback.
-
+1, this is basic stuff |
Beta Was this translation helpful? Give feedback.
-
+1, this should be the baseline for notifications. |
Beta Was this translation helpful? Give feedback.
-
Would like to get that feature as well |
Beta Was this translation helpful? Give feedback.
-
This would be much appreciated indeed. I use GitHub workflows quite often, and being able to configure who gets notified and when would be really useful! |
Beta Was this translation helpful? Give feedback.
-
Waiting for this, please share if you guys have achieved this using any different approach |
Beta Was this translation helpful? Give feedback.
-
+1 to this. It would be super useful feature to notify all team members about failed runs. |
Beta Was this translation helpful? Give feedback.
-
I would like to Customize my workflow so that my entire team can receive or a custom email (DL) can receive a notification like whether the workflow has completed successfully or not ! As of now the one who is running the workflow is receiving the notification and there's no verified github actions here as well. for more - https://github.community/t/github-actions-email-notifications-for-workflow-failures/176028/2
Beta Was this translation helpful? Give feedback.
All reactions