commit | d3562e55bd2e40607899e0e694fc7f9cc19c60bb | [log] [tgz] |
---|---|---|
author | Daniel Gruno <humbedooh@apache.org> | Thu Jan 19 13:22:51 2023 +0100 |
committer | GitHub <noreply@github.com> | Thu Jan 19 13:22:51 2023 +0100 |
tree | 48441768b704d4483d01f36edd6d8277678cebe4 | |
parent | feaff4e0e2e70cbc7f7488daeff314988f76a898 [diff] |
Tweak From: header to include who caused this notification
diff --git a/notifier.py b/notifier.py index 22beca2..adbb3d3 100644 --- a/notifier.py +++ b/notifier.py
@@ -246,7 +246,7 @@ if SEND_EMAIL: recipient = ml asfpy.messaging.mail( - sender="GitBox <git@apache.org>", + sender=f"{user} (via GitHub) <git@apache.org>", recipient=recipient, subject=subject_line, message=real_text,