#4196·semaphore

Problem: go_git prohibits push in pipeline

Author: seblaeukddCreated Sep 7, 2026Updated Sep 7, 2026

Issue

After changing the git client to go, a pipeline broke which pushes changes to a remote git repository. After recreating the authentication and switching it back to git_cmd it worked.

I noticed other issues while working on this, not sure if you need more opened for this:

  1. cmd_git will write the secret to the output if you omit a username in the key store, meaning that the username is not optional and you need to reissue a token as it is now made internally available - you cannot remove logs or task executions from inside the gui
  2. you cannot confirm a configured ssh key is still right - you can just overwrite it in the keystore. Not even the username thats used, which was difficult to overcome

Impact

Other

Installation method

Docker

Database

SQLite

Browser

Microsoft Edge

Semaphore Version

v2.19.7-e9dc41a-1785919551

Ansible Version

bash
-

Logs & errors

Get current commit hash
Get current commit message
[...]
push
fatal: could not read Username for 'https://git.example.org': No such device or address
Failed to run task: exit status 128

Manual installation - system information

No response

Configuration

SEMAPHORE_GIT_CLIENT: "go_git"

Additional information

Shell script containing a file sync as part of the pipeline, followed by git add and git push, like:

rsync git add . git push