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}