From 61366d1622b7eb48415464c5a2ec70e114e67f4e Mon Sep 17 00:00:00 2001 From: RemiZOffAlex Date: Mon, 16 Mar 2026 22:30:59 +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 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/executor/cli/git.py b/executor/cli/git.py index 57c1334..87b508e 100644 --- a/executor/cli/git.py +++ b/executor/cli/git.py @@ -10,6 +10,8 @@ import json from executor.engine import Engine from executor.core import config +from executor.handlers.config import handle_config + def json_read(filename): with open(filename, 'r') as fd: @@ -21,6 +23,8 @@ def handle_git(args): for key in os.environ: if key.startswith('INPUT_'): print(key, os.getenv(key)) + handle_config(config) + DEBUG = True ACTIONS_RUNTIME_TOKEN = os.getenv('ACTIONS_RUNTIME_TOKEN') INPUT_TOKEN = os.getenv('INPUT_TOKEN') @@ -81,6 +85,6 @@ def handle_git(args): print(cmd) exec_cmd(cmd) - cmd = 'git -C ' + INPUT_PATH + ' checkout ' + INPUT_REF + cmd = 'git -C ' + INPUT_PATH + ' checkout ' + config['ref'] print(cmd) exec_cmd(cmd)