commit signing hell

This commit is contained in:
Ian Gulliver
2026-10-18 22:55:23 -07:00
parent 95389d0d92
commit 380e533ef4
8 changed files with 402 additions and 280 deletions
+1 -1
View File
@@ -455,7 +455,7 @@ func (m *Manager) squashAndClose(ctx context.Context, taskID, login string) erro
"GIT_COMMITTER_NAME=" + user.GitName,
"GIT_COMMITTER_EMAIL=" + user.GitEmail,
}
commit, err := git.SquashCommit(project.RepoPath, task.WorktreePath, project.DefaultBranch, squashMessage(task.MergeTitle, coAuthors), env)
commit, err := git.SquashCommit(project.RepoPath, task.WorktreePath, project.DefaultBranch, squashMessage(task.MergeTitle, coAuthors), env, m.signer(ctx, user))
if err != nil {
return err
}