mirror of
https://github.com/go-gitea/gitea
synced 2025-12-07 13:28:25 +00:00
@@ -69,6 +69,9 @@ func CreatePushPullComment(ctx context.Context, pusher *user_model.User, pr *iss
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if len(data.CommitIDs) == 0 {
|
||||
return nil, nil
|
||||
}
|
||||
}
|
||||
|
||||
dataJSON, err := json.Marshal(data)
|
||||
|
||||
Reference in New Issue
Block a user