From 6404f9998128e37316eaa66710bcb17474d16ec5 Mon Sep 17 00:00:00 2001 From: RemiZOffAlex Date: Sun, 30 Mar 2025 05:05:30 +0300 Subject: [PATCH] Update --- execute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/execute.py b/execute.py index 9f86dc6..032001e 100755 --- a/execute.py +++ b/execute.py @@ -24,7 +24,6 @@ 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) -print(cmd) result = os.popen(cmd) key = 'url.'+GITHUB_SERVER_URL+'/.insteadOf' @@ -35,6 +34,7 @@ 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) +print(cmd) result = os.popen(cmd) # cmd = 'git config list --local'