Skip to content

Commit

Permalink
chore: removing send mail on failure gh action
Browse files Browse the repository at this point in the history
This action frequently fails, and the current maintainers
(@openedx/2u-aperture) don't require it, as we both monitor the success
of the workflows and we have workflow failure email notifications
enabled. After discussion with Axim, we are removing the  action. It can
always be added back (and potentially debugged) later if another
maintainer would benefit from it.

FIXES: APER-3814
  • Loading branch information
deborahgu committed Dec 9, 2024
1 parent 1474c4c commit 63860e9
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,3 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true

- name: Send failure notification
if: ${{ failure() }}
uses: dawidd6/action-send-mail@v4
with:
server_address: email-smtp.us-east-1.amazonaws.com
server_port: 465
username: ${{ secrets.EDX_SMTP_USERNAME }}
password: ${{ secrets.EDX_SMTP_PASSWORD }}
subject: CI workflow failed in ${{github.repository}}
to: [email protected],[email protected]
from: github-actions <[email protected]>
nodemailerlog: true
nodemailerdebug: true
body: CI workflow in ${{github.repository}} failed!
For details see "github.com/${{ github.repository }}/actions/runs/${{ github.run_id
}}"

0 comments on commit 63860e9

Please sign in to comment.