mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-22 22:15:29 +02:00
Update services/pull/comment.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: silverwind <me@silverwind.io>
This commit is contained in:
@@ -92,7 +92,7 @@ func CreatePushPullComment(ctx context.Context, pusher *user_model.User, pr *iss
|
||||
}
|
||||
}
|
||||
|
||||
if isForcePush { // if it's a force push, we needs to add a force push comment
|
||||
if isForcePush { // if it's a force push, we need to add a force push comment
|
||||
data.CommitIDs = []string{oldCommitID, newCommitID}
|
||||
data.IsForcePush = true
|
||||
dataJSON, err := json.Marshal(data)
|
||||
|
||||
Reference in New Issue
Block a user