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:
parent
6594b38c4e
commit
2a6c3e70f9
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user