.github/workflows: Use valid sender address

Set a static From header and envelope_from to the configured
SMTP account to restore mail notifications.
This commit is contained in:
Gleb Chesnokov
2026-03-12 14:53:54 +03:00
parent e36e246b22
commit 32c4c6b87b

View File

@@ -73,8 +73,9 @@ jobs:
[${{steps.get_short_ref.outputs.short_ref}}] ${{steps.get_commit_message.outputs.commit_message}}
# Required recipients' addresses:
to: scst-svn@lists.sourceforge.net
# Required sender full name (address can be skipped):
from: ${{matrix.commit.committer.name}}
# Required sender (quote it because of '<' and '>'):
from: '"SCST GitHub" <${{ secrets.MAIL_SERVER_USERNAME }}>'
envelope_from: ${{ secrets.MAIL_SERVER_USERNAME }}
# Optional whether this connection use TLS (default is true if server_port is 465)
# secure: true