Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/codegen/runner/utils/branch_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from codegen.git.configs.constants import HIGHSIDE_REMOTE_NAME, LOWSIDE_REMOTE_NAME
from codegen.git.repo_operator.remote_repo_operator import RemoteRepoOperator
from codegen.git.schemas.github import GithubScope, GithubType
from codegen.git.schemas.github import GithubType
from codegen.git.utils.clone_url import get_authenticated_clone_url_for_repo_config


Expand All @@ -11,7 +11,7 @@ def get_remote_for_github_type(op: RemoteRepoOperator, github_type: GithubType =
return op.git_cli.remote(name="origin")

remote_name = HIGHSIDE_REMOTE_NAME if github_type == GithubType.Github else LOWSIDE_REMOTE_NAME
remote_url = get_authenticated_clone_url_for_repo_config(repo=op.repo_config, github_type=github_type, github_scope=GithubScope.WRITE)
remote_url = get_authenticated_clone_url_for_repo_config(repo=op.repo_config, github_type=github_type)

if remote_name in op.git_cli.remotes:
remote = op.git_cli.remote(remote_name)
Expand Down