Skip to content

Commit

Permalink
fix clone url
Browse files Browse the repository at this point in the history
  • Loading branch information
grst committed Aug 4, 2023
1 parent a400e6f commit e55346f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/src/scverse_template_scripts/cruft_prs.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def cruft_update( # noqa: PLR0913
retries=n_retries,
exc_cls=GitCommandError,
)
upstream = clone.create_remote(name=pr.repo_id, url=origin.git_url)
upstream = clone.create_remote(name=pr.repo_id, url=origin.clone_url)
upstream.fetch()
branch = clone.create_head(pr.branch, f"{pr.repo_id}/{origin.default_branch}")
branch.checkout()
Expand Down

0 comments on commit e55346f

Please sign in to comment.