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 1e4f7d2 commit ca5ea09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion services/github/webhook_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,14 @@ async def handle_issue_labeled(payload: GitHubLabeledPayload):
print(os.getcwd())
os.system(f'mkdir {new_uuid}')
print("created folder")
os.system(f'git clone https://x-access-token:invalid@github.com/nikitamalinov/lalager.git ./{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 ca5ea09

Please sign in to comment.