Skip to content

Commit 85b5252

Browse files
Fix GitHub API call - use create_fork instead of fork
- Replace incorrect GitHub.fork with GitHub.create_fork - Fixes UndefVarError where fork function doesn't exist in GitHub.jl - Enables proper repository forking for PR creation workflow - Resolves telemetry upload failures when creating pull requests 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent a5cc744 commit 85b5252

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/LinearSolveAutotune/src/telemetry.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ function create_results_pr(target_repo, fallback_repo, branch_name, folder_name,
583583
fork_existed = false
584584
try
585585
@info "📋 Creating fork of $actual_target_repo..."
586-
fork_repo_obj = GitHub.fork(target_repo_obj, auth=auth)
586+
fork_repo_obj = GitHub.create_fork(target_repo_obj, auth=auth)
587587
@info "✅ Fork created: $(user.login)/$repo_name"
588588
# Wait a moment for new fork to be ready
589589
sleep(3)

0 commit comments

Comments
 (0)