@@ -354,13 +354,16 @@ jobs:
354354
355355 - name: Send e-mail on failed run
356356 if: failure() && contains(fromJSON('["schedule", "workflow_dispatch"]'), github.event_name)
357- uses: dawidd6/action-send-mail@v4
357+ # freeze to v6
358+ uses: dawidd6/action-send-mail@6d98ae34d733f9a723a9e04e94f2f24ba05e1402
358359 with:
359360 server_address: ${{ secrets.NOTIFY_SMTP_HOST }}
360361 server_port: ${{ secrets.NOTIFY_SMTP_PORT }}
361362 username: ${{ secrets.NOTIFY_SMTP_USERNAME }}
362363 password: ${{ secrets.NOTIFY_SMTP_PASSWORD }}
363- from: GitHub Actions Notifications
364+ secure: ${{ secrets.NOTIFY_SMTP_SECURE }}
365+ ignore_cert: ${{ secrets.NOTIFY_SMTP_IGNORE_CERT }}
366+ from: "GitHub Actions Notifications <${{ secrets.NOTIFY_SMTP_USERNAME }}@${{ secrets.NOTIFY_SMTP_HOST }}>"
364367 to: ${{ secrets.NOTIFY_RECIPIENT }}
365368 subject: '[${{ github.repository }}] Build on {{osname}} failed!'
366369 body: |
@@ -523,13 +526,16 @@ jobs:
523526
524527 - name: Send e-mail on failed run
525528 if: failure() && contains(fromJSON('["schedule", "workflow_dispatch"]'), github.event_name)
526- uses: dawidd6/action-send-mail@v4
529+ # freeze to v6
530+ uses: dawidd6/action-send-mail@6d98ae34d733f9a723a9e04e94f2f24ba05e1402
527531 with:
528532 server_address: ${{ secrets.NOTIFY_SMTP_HOST }}
529533 server_port: ${{ secrets.NOTIFY_SMTP_PORT }}
530534 username: ${{ secrets.NOTIFY_SMTP_USERNAME }}
531535 password: ${{ secrets.NOTIFY_SMTP_PASSWORD }}
532- from: GitHub Actions Notifications
536+ secure: ${{ secrets.NOTIFY_SMTP_SECURE }}
537+ ignore_cert: ${{ secrets.NOTIFY_SMTP_IGNORE_CERT }}
538+ from: "GitHub Actions Notifications <${{ secrets.NOTIFY_SMTP_USERNAME }}@${{ secrets.NOTIFY_SMTP_HOST }}>"
533539 to: ${{ secrets.NOTIFY_RECIPIENT }}
534540 subject: '[${{ github.repository }}] Tests of {{osname}} build failed!'
535541 body: |
0 commit comments