-
Notifications
You must be signed in to change notification settings - Fork 573
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
i#4549 GA: Configure failure notifs to dynamorio-devs. #4631
Conversation
Uses the dawidd6/action-send-mail@v2 action to send notifications via email to dynamorio-devs for all failures in CI or package workflows. This is the final piece in the migration to Github Actions. Fixes: #4549
@derekbruening Will sync offline to add the two new Github secrets (for username and password of the email account) to the DynamoRIO repo settings. One caveat of this approach, for PRs from forked repos:
I haven't tested behaviour on forked repo PRs yet, but it probably means that we won't get these notification emails for CI failures on those. |
We want the list emails for pushes to master (not important for PR failures), and I would assume that a forked repo will always be merged by a project member into master and that merge will trigger the email? |
The master merge done by a project member should trigger the email on failure, I believe. I'm going to try to test our assumptions about forked repo PRs but creating such a PR with i4549-failure-email-notifs as target. Thanks for adding the GIthub Secrets. Will update the PR when testing is complete and ready for review. |
We want to check whether this generates successful notification emails.
'Github Actions CI' is already part of the email sender string.
Observations from testing for forked repo PRs; see PR #4634 which was forked from abhinav92003/dynamorio and merged into DynamoRIO/dynamorio:i4549-failure-email-notifs for testing:
|
It is better to have a DYNAMORIO_ prefix on these variables to reduce chances of conflict with a forked repo's Secret vars.
Some other observations:
|
Sounds right -- yes, it does a "git diff -U0 origin/master".
My "PR run failed" and "Run failed" (manually triggered) emails are |
Verified using a simple cron config1 that it also has |
run arm tests |
Uses the dawidd6/action-send-mail@v2 action to send notifications via email to dynamorio-devs for all failures in CI or package workflows.
This is the final piece in the migration to Github Actions.
Fixes: #4549