microsoft / triton-shared

Shared Middle-Layer for Triton Compilation
MIT License
142 stars 27 forks source link

Send mail to dev team on workflow failure #23

Closed manbearian closed 9 months ago

manbearian commented 9 months ago

Looks like we need to customize our Actions to mail the dev team on workflow failure, otherwise only the creator of the workflow (last editor) gets mail on failure.

manbearian commented 9 months ago

@nhat-nguyen FYI

nhat-nguyen commented 9 months ago

I just did a little of searching and looks like GitHub doesn't have any option to customize this behaviour of only notifying the last user who modifies the pipeline. There's some third-party GitHub action that can be used to send email, but that requires having an email account already set up: https://github.com/marketplace/actions/send-email

manbearian commented 9 months ago

Something like this might work:

gh --repo ${{ github.repository }} issue create --title "Rolling build failure!" --body "Notify @manbearian, this job has failed"