Update
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user