This is an automated email from the ASF dual-hosted git repository. zhangliang2022 pushed a commit to branch cherry-pick-pr#3812 in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit 7311d965004fffc944f1ffcc997732cd1965c91a Author: mindlesscloud <[email protected]> AuthorDate: Tue Nov 29 20:49:15 2022 +0800 fix: set DomainTypes of ExtractApiPrReviewCommentsMeta and CollectApiPrReviewCommentsMeta to CODEREVIEW (#3812) --- plugins/github/tasks/pr_review_comment_collector.go | 2 +- plugins/github/tasks/pr_review_comment_extractor.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/github/tasks/pr_review_comment_collector.go b/plugins/github/tasks/pr_review_comment_collector.go index f8d883549..58c51725e 100644 --- a/plugins/github/tasks/pr_review_comment_collector.go +++ b/plugins/github/tasks/pr_review_comment_collector.go @@ -110,5 +110,5 @@ var CollectApiPrReviewCommentsMeta = core.SubTaskMeta{ EntryPoint: CollectPrReviewComments, EnabledByDefault: true, Description: "Collect pr review comments data from Github api", - DomainTypes: []string{core.DOMAIN_TYPE_CODE}, + DomainTypes: []string{core.DOMAIN_TYPE_CODE_REVIEW}, } diff --git a/plugins/github/tasks/pr_review_comment_extractor.go b/plugins/github/tasks/pr_review_comment_extractor.go index 0307f7204..fb4175ced 100644 --- a/plugins/github/tasks/pr_review_comment_extractor.go +++ b/plugins/github/tasks/pr_review_comment_extractor.go @@ -38,7 +38,7 @@ var ExtractApiPrReviewCommentsMeta = core.SubTaskMeta{ EnabledByDefault: true, Description: "Extract raw comment data into tool layer table github_pull_request_comments" + "and github_issue_comments", - DomainTypes: []string{core.DOMAIN_TYPE_CODE}, + DomainTypes: []string{core.DOMAIN_TYPE_CODE_REVIEW}, } func ExtractApiPrReviewComments(taskCtx core.SubTaskContext) errors.Error {
