From 1e4f7d29d1b9cd7c30b19cf8426336698fbd166b Mon Sep 17 00:00:00 2001 From: nikitamalinov Date: Thu, 22 Feb 2024 17:01:21 -0800 Subject: [PATCH] . --- services/github/webhook_handler.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/github/webhook_handler.py b/services/github/webhook_handler.py index 40304c70..76c8e2d2 100644 --- a/services/github/webhook_handler.py +++ b/services/github/webhook_handler.py @@ -91,6 +91,8 @@ async def handle_issue_labeled(payload: GitHubLabeledPayload): print("got into tmp") try: print(os.getcwd()) + os.system(f'mkdir {new_uuid}') + print("created folder") print(f'git clone https://x-access-token:{token}@github.com/nikitamalinov/lalager.git ./{new_uuid}') os.system(f'git clone https://x-access-token:{token}@github.com/nikitamalinov/lalager.git ./{new_uuid}') # git.Repo.clone_from(url=f'https://x-access-token:{token}@github.com/nikitamalinov/lalager.git', to_path=f'./{new_uuid}')