From ce8adfbc7e3accb4b21f08cab084390e04a9c0e9 Mon Sep 17 00:00:00 2001 From: RemiZOffAlex Date: Sun, 19 Oct 2025 00:29:56 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20executor/cli/git.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- executor/cli/git.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/executor/cli/git.py b/executor/cli/git.py index 0df7cc3..4df43c5 100644 --- a/executor/cli/git.py +++ b/executor/cli/git.py @@ -14,6 +14,7 @@ def handle_git(args): DEBUG = True ACTIONS_RUNTIME_TOKEN = os.getenv('ACTIONS_RUNTIME_TOKEN') INPUT_TOKEN = os.getenv('INPUT_TOKEN') + INPUT_REPOSITORY = os.getenv('INPUT_REPOSITORY') GITHUB_SERVER_URL = os.getenv('GITHUB_SERVER_URL') GITHUB_REPOSITORY = os.getenv('GITHUB_REPOSITORY') GITHUB_REF = os.getenv('GITHUB_REF') @@ -47,7 +48,7 @@ def handle_git(args): cmd = 'git config set --local ' + escape(key) + ' ' + escape(GITHUB_SERVER_URL) exec_cmd(cmd) - cmd = 'git remote add origin ' + GITHUB_SERVER_URL + '/' + GITHUB_REPOSITORY + cmd = 'git remote add origin ' + GITHUB_SERVER_URL + '/' + INPUT_REPOSITORY exec_cmd(cmd) cmd = 'git fetch --progress --depth 1 origin ' + GITHUB_REF