From 3fa4a25d87ebff3ef9547da6897b7539450c5dac Mon Sep 17 00:00:00 2001 From: Yureka Date: Fri, 19 Jul 2024 23:25:26 +0200 Subject: [PATCH] gerrit-one-way-sync: set git user info --- services/gerrit/one-way-sync.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/gerrit/one-way-sync.nix b/services/gerrit/one-way-sync.nix index ac6edd8..cdb86c0 100644 --- a/services/gerrit/one-way-sync.nix +++ b/services/gerrit/one-way-sync.nix @@ -30,6 +30,8 @@ let cd ${cfg.workingDir}/${name} git pull origin ${fromRefspec} EXPECTED_REF=$(git rev-list ${localRefspec} | head -1) + git config user.name Fork-o-Tron + git config user.email noreply@forkos.org git fetch ${fromUri} ${fromRefspec} git merge FETCH_HEAD GIT_SSH_COMMAND='ssh -i ${cfg.deployKeyPath}' git push ${cfg.pushUrl} HEAD:${targetRef}