about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2026-03-03 13:32:01 -0600
committerFrederick Muriuki Muriithi2026-03-05 08:48:42 -0600
commit1b6cc9a6c53dd30d0f495995989cadbfcbe51014 (patch)
treeed06ef658c5998684a898f8c5edf8b806a6f54c8
parent9a8702b8c59982c266030d8a87d98f51c5378f2c (diff)
downloadgn-machines-1b6cc9a6c53dd30d0f495995989cadbfcbe51014.tar.gz
gn-guile: Set `GIT_COMMITTER*` envvars.
We need to set the `GIT_COMMITTER_NAME` and `GIT_COMMITTER_EMAIL`
envvars to prevent the commit step from failing.
-rw-r--r--genenetwork/services/genenetwork.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/genenetwork/services/genenetwork.scm b/genenetwork/services/genenetwork.scm
index e8696d4..bc3e731 100644
--- a/genenetwork/services/genenetwork.scm
+++ b/genenetwork/services/genenetwork.scm
@@ -682,6 +682,8 @@ a @code{<genenetwork-configuration>} record."
           (setenv "SSL_CERT_FILE" ssl-cert-file)
           (setenv "GUILE_TLS_CERTIFICATE_DIRECTORY" ssl-cert-dir)
           (setenv "GIT_SSH_COMMAND" #$ssh-command)
+          (setenv "GIT_COMMITTER_NAME" "genenetwork")
+          (setenv "GIT_COMMITTER_EMAIL" "no-reply@git.genenetwork.org")
 
           (when (file-exists? current-repo-path)
             (delete-file-recursively current-repo-path))