This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 8fa8df38 Send as from committer
8fa8df38 is described below

commit 8fa8df383cd18e0ec2cce65655508b7fd403f9cb
Author: Sebb <[email protected]>
AuthorDate: Thu Mar 7 15:28:21 2024 +0000

    Send as from committer
---
 tools/pubsub-ci-email.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/pubsub-ci-email.rb b/tools/pubsub-ci-email.rb
index 347d042d..bf156f5e 100755
--- a/tools/pubsub-ci-email.rb
+++ b/tools/pubsub-ci-email.rb
@@ -182,7 +182,8 @@ def do_diff(initialhash, currenthash, triggerrev)
 
     EOD
     mail = Mail.new do
-      from "[email protected]" # Reply to Whimsy is not useful
+      from "#{username} <#{userid}@apache.org>"
+      sender "[email protected]"
       # to to # Intial testing, only use Bcc
       bcc '[email protected]' # keep track of mails
       subject subject

Reply via email to