diff --git a/executor/cli/git.py b/executor/cli/git.py index 4fd5617..9385001 100644 --- a/executor/cli/git.py +++ b/executor/cli/git.py @@ -112,8 +112,9 @@ def handle_git(args): value = 'git@codex.r10x.net:org-'+str(org_id)+'@codex.r10x.net:' value = f'git@codex.r10x.net:{GITHUB_ACTOR}@codex.r10x.net:' # exec_cmd(cmd) - key = f'url."https://{INPUT_TOKEN}@codex.r10x.net"/.insteadOf' + key = f'url."https://x-access-token:{INPUT_TOKEN}@codex.r10x.net"/.insteadOf' value = 'https://codex.r10x.net/' + cmd = 'git config set --global ' + key + ' ' + escape(value) exec_cmd(cmd) cmd = 'git -C ' + INPUT_PATH + ' remote add origin ' + GITHUB_SERVER_URL + '/' + REPOSITORY