diff --git a/execute.py b/execute.py index 032001e..881fcc5 100755 --- a/execute.py +++ b/execute.py @@ -23,7 +23,7 @@ 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 --global ' + key + ' ' + value result = os.popen(cmd) key = 'url.'+GITHUB_SERVER_URL+'/.insteadOf' @@ -34,7 +34,6 @@ 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'