Fix typo in Bitbucket URL (#15602)

This commit is contained in:
Matias Puerta 2024-03-19 00:24:11 +01:00 committed by GitHub
parent 39ab552813
commit 7036a7bb25
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,7 +58,7 @@ def _clone_repo(
if isinstance(credential, GitHubCredentials):
url = f"https://x-oauth-basic:{credential.token.__root__.get_secret_value()}@github.com/{repo_name}.git"
elif isinstance(credential, BitBucketCredentials):
url = f"https://x-token-auth::{credential.token.__root__.get_secret_value()}@bitbucket.or/{repo_name}.git"
url = f"https://x-token-auth::{credential.token.__root__.get_secret_value()}@bitbucket.org/{repo_name}.git"
allow_unsafe_protocols = True
assert url is not None