From 3b0b2dea8aa24dc1d31ddea45b0e3be020190ea7 Mon Sep 17 00:00:00 2001 From: RemiZOffAlex Date: Sun, 30 Mar 2025 05:21:38 +0300 Subject: [PATCH] Update --- execute.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/execute.py b/execute.py index 9d11d56..f114a6c 100755 --- a/execute.py +++ b/execute.py @@ -23,17 +23,17 @@ base64_string = 'AUTHORIZATION: basic ' + base64_bytes.decode("utf-8") key = 'http.'+GITHUB_SERVER_URL+'/.extraheader' value = base64_string -cmd = 'git config --global ' + key + ' ' + escape(value) +cmd = 'git config set --global ' + key + ' ' + escape(value) result = os.popen(cmd) key = 'url.'+GITHUB_SERVER_URL+'/.insteadOf' -cmd = 'git config --global ' + escape(key) + ' ' + GITHUB_SERVER_URL +cmd = 'git config set --global ' + escape(key) + ' ' + GITHUB_SERVER_URL key = 'url.'+GITHUB_SERVER_URL+'/.insteadOf' key = 'url.https://'+INPUT_TOKEN+':x-oauth-basic@codex.r10x.net'+'/.insteadOf' key = 'url.https://'+ACTIONS_RUNTIME_TOKEN+':x-oauth-basic@codex.r10x.net'+'/.insteadOf' value = 'git@"'+base64_string+'"' -cmd = 'git config --global ' + escape(key) + ' ' + escape(GITHUB_SERVER_URL) +cmd = 'git config set --global ' + escape(key) + ' ' + escape(GITHUB_SERVER_URL) result = os.popen(cmd) # cmd = 'git config list --local'