Обновить executor/cli/git.py
All checks were successful
Test Actions / Builder (push) Successful in 8s

This commit is contained in:
2025-10-19 05:12:36 +03:00
parent 297e35a668
commit e1371ed846

View File

@@ -70,10 +70,13 @@ def handle_git(args):
exec_cmd(cmd)
cmd = 'git remote add origin ' + GITHUB_SERVER_URL + '/' + REPOSITORY
print(cmd)
exec_cmd(cmd)
cmd = 'git fetch --progress --depth ' + DEPTH + ' origin ' + REF
cmd = 'git fetch --progress --depth ' + DEPTH + ' origin ' + GITHUB_REF_NAME
print(cmd)
exec_cmd(cmd)
cmd = 'git checkout ' + GITHUB_REF_NAME
print(cmd)
exec_cmd(cmd)