Skip to content

Commit 66f84ee

Browse files
committed
add comment
1 parent a737a9c commit 66f84ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

services/pull/pull.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,9 @@ func AddTestPullRequestTask(doer *user_model.User, repoID int64, branch string,
274274
continue
275275
}
276276

277+
// If the PR is closed, someone still push some commits to the PR,
278+
// 1. We will insert comments of commits, but hidden until the PR is reopened.
279+
// 2. We won't send any notification.
277280
AddToTaskQueue(pr)
278281
comment, err := CreatePushPullComment(ctx, doer, pr, oldCommitID, newCommitID)
279282
if err == nil && comment != nil && !pr.Issue.IsClosed {

0 commit comments

Comments
 (0)