This commit is contained in:
Lunny Xiao
2025-12-22 19:03:34 -08:00
parent 7228fb1498
commit b4df643ad1
2 changed files with 9 additions and 1 deletions
+1
View File
@@ -74,6 +74,7 @@ func initRepoCommit(ctx context.Context, tmpPath string, repo *repo_model.Reposi
}
if err := gitrepo.PushFromLocal(ctx, tmpPath, repo, git.PushOptions{
LocalBranch: "HEAD",
Branch: defaultBranch,
Env: repo_module.InternalPushingEnvironment(u, repo),
}); err != nil {