mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
Replace URL token embedding with GIT_ASKPASS for git authentication
This commit is contained in:
1 parent
daf5754cc1
commit
e37059360a
3 files changed
+5
-10
No files matched your search
@@ -99,7 +99,7 @@ class OpenCodeServerManager {
|
||||
XDG_DATA_HOME: path.join(OPENCODE_SERVER_DIRECTORY, '.opencode/state'),
|
||||
OPENCODE_CONFIG: OPENCODE_CONFIG_PATH,
|
||||
GITHUB_TOKEN: gitToken,
|
||||
GIT_ASKPASS: 'echo',
|
||||
GIT_ASKPASS: gitToken ? 'echo $GITHUB_TOKEN' : 'echo',
|
||||
GIT_TERMINAL_PROMPT: '0'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user