Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sakajunquality committed Dec 19, 2023
1 parent b4a5b9c commit 589b979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitbot/commitpr.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (r *release) pushCommit(ctx context.Context, client *github.Client, ref *gi
date := time.Now()
author := &github.CommitAuthor{Date: &github.Timestamp{date}, Name: &r.author.Name, Email: &r.author.Email}
commit := &github.Commit{Author: author, Message: &r.message, Tree: tree, Parents: []*github.Commit{parent.Commit}}
newCommit, _, err := client.Git.CreateCommit(ctx, r.repo.SourceOwner, r.repo.SourceRepo, commit)
newCommit, _, err := client.Git.CreateCommit(ctx, r.repo.SourceOwner, r.repo.SourceRepo, commit, nil)
if err != nil {
return err
}
Expand Down

0 comments on commit 589b979

Please sign in to comment.