0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-02-25 14:35:47 +01: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:
silverwind 2026-02-18 05:29:47 +01:00 committed by GitHub
parent 6594b38c4e
commit 2a6c3e70f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)