You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by wa...@apache.org on 2022/11/29 12:49:19 UTC

[incubator-devlake] branch main updated: fix: set DomainTypes of ExtractApiPrReviewCommentsMeta and CollectApiPrReviewCommentsMeta to CODEREVIEW (#3812)

This is an automated email from the ASF dual-hosted git repository.

warren pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new 12b394295 fix: set DomainTypes of ExtractApiPrReviewCommentsMeta and CollectApiPrReviewCommentsMeta to CODEREVIEW (#3812)
12b394295 is described below

commit 12b3942957023dc20ce41aedc4de551091fd0869
Author: mindlesscloud <li...@merico.dev>
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 {