feat: Use git email as performer when available

This commit is contained in:
Paul Gabriel
2024-07-11 11:19:44 +02:00
parent 1573cebadf
commit deccf1cfaf
5 changed files with 8 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ class CommandsHookTest < ActiveSupport::TestCase
traefik: { "args" => { "accesslog.format" => "json", "metrics.prometheus.buckets" => "0.1,0.3,1.2,5.0" } }
}
@performer = `whoami`.strip
@performer = Kamal::Git.email.presence || `whoami`.chomp
@recorded_at = Time.now.utc.iso8601
end