Skip to content

Commit 4dce15f

Browse files
authored
fix gitlab webhook comment type (#4302)
Signed-off-by: Patrick Zhao <zhaoyu@koderover.com>
1 parent 4154b13 commit 4dce15f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/microservice/aslan/core/workflow/service/webhook/gitlab_scanning_task.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func TriggerScanningByGitlabEvent(event interface{}, baseURI, requestID string,
132132
// 发送本次commit的通知
133133
if autoCancelOpt.Type == EventTypePR && notification == nil {
134134
notification, _ = scmnotify.NewService().SendInitWebhookComment(
135-
mainRepo, prID, baseURI, false, true, false, false, log,
135+
mainRepo, prID, baseURI, false, false, true, false, log,
136136
)
137137
}
138138
}

0 commit comments

Comments
 (0)