mirror of
https://github.com/harness/drone.git
synced 2025-05-12 23:20:10 +08:00
Merge branch 'mg/code-comments/status-update-preserves-edited' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#296)
This commit is contained in:
commit
ecd1e28e9a
@ -73,12 +73,11 @@ func (c *Controller) CommentStatus(
|
||||
return nil
|
||||
}
|
||||
|
||||
now := time.Now().UnixMilli()
|
||||
act.Edited = now
|
||||
|
||||
act.Resolved = nil
|
||||
act.ResolvedBy = nil
|
||||
|
||||
now := time.Now().UnixMilli()
|
||||
|
||||
if in.Status != enum.PullReqCommentStatusActive {
|
||||
// In the future if we add more comment resolved statuses
|
||||
// we'll add the ResolvedReason field and put the reason there.
|
||||
|
Loading…
Reference in New Issue
Block a user