Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitamalinov committed Feb 23, 2024
1 parent fe25d9a commit 9028fe1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion services/github/webhook_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,13 @@ async def handle_issue_labeled(payload: GitHubLabeledPayload):

print("got into tmp")
try:
git.Repo.clone_from(url=f'https://x-access-token:{token}@github.com/nikitamalinov/lalager.git', to_path=f'./{new_uuid}')
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}')
except Exception as e:
print(e)
print("Repo cloned")
return
# Initialize the OpenAI API
io = InputOutput(
pretty=True,
Expand Down

0 comments on commit 9028fe1

Please sign in to comment.