Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notify everyone when daily main tests fail #120

Open
eriktamsen opened this issue Jul 7, 2023 · 2 comments
Open

Notify everyone when daily main tests fail #120

eriktamsen opened this issue Jul 7, 2023 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested

Comments

@eriktamsen
Copy link
Member

As mentioned the email notification for a failed workflow only reach the person who last changed the job, see: https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/notifications-for-workflow-runs

It should be possible to build a feature to send specific email to a list of people.
Maybe this can be adapted? https://www.ravsam.in/blog/send-email-notification-when-github-action-fails/

Here another similar example with code to only trigger on failure:
Other ideas: https://stackoverflow.com/questions/62304258/github-actions-notifications-on-workflow-failure

Or maybe do a separate workflow that is triggered on failure of the test workflow?

@eriktamsen eriktamsen added enhancement New feature or request help wanted Extra attention is needed question Further information is requested labels Jul 7, 2023
@joergfunger
Copy link
Member

That looks good, the only thing we would have to do is to create an email account with app-specific passwords that we could send the emails from - or is there an option to send notifications to github users (such that github is taking over the responsibility to send a message)?

@joergfunger
Copy link
Member

alternatively, we could send it to teams, e.g. using this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants