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 e332b28a fix: fix pr review DomainTypes
e332b28a is described below

commit e332b28a5a9299f5a5bea2e54efbdcd4b7b76951
Author: zhangliang <[email protected]>
AuthorDate: Mon Jul 18 11:17:47 2022 +0800

    fix: fix pr review DomainTypes
---
 plugins/github/tasks/pr_review_collector.go | 2 +-
 plugins/github/tasks/pr_review_convertor.go | 2 +-
 plugins/github/tasks/pr_review_extractor.go | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/plugins/github/tasks/pr_review_collector.go 
b/plugins/github/tasks/pr_review_collector.go
index 87e2cf31..09c5a0b5 100644
--- a/plugins/github/tasks/pr_review_collector.go
+++ b/plugins/github/tasks/pr_review_collector.go
@@ -40,7 +40,7 @@ var CollectApiPullRequestReviewsMeta = core.SubTaskMeta{
        EntryPoint:       CollectApiPullRequestReviews,
        EnabledByDefault: true,
        Description:      "Collect PullRequestReviews data from Github api",
-       DomainTypes:      []string{core.DOMAIN_TYPE_CROSS},
+       DomainTypes:      []string{core.DOMAIN_TYPE_CROSS, 
core.DOMAIN_TYPE_CODE_REVIEW},
 }
 
 func CollectApiPullRequestReviews(taskCtx core.SubTaskContext) error {
diff --git a/plugins/github/tasks/pr_review_convertor.go 
b/plugins/github/tasks/pr_review_convertor.go
index 4b1e7bd6..3aa5c8e0 100644
--- a/plugins/github/tasks/pr_review_convertor.go
+++ b/plugins/github/tasks/pr_review_convertor.go
@@ -34,7 +34,7 @@ var ConvertPullRequestReviewsMeta = core.SubTaskMeta{
        EntryPoint:       ConvertPullRequestReviews,
        EnabledByDefault: true,
        Description:      "ConvertPullRequestReviews data from Github api",
-       DomainTypes:      []string{core.DOMAIN_TYPE_CODE},
+       DomainTypes:      []string{core.DOMAIN_TYPE_CROSS, 
core.DOMAIN_TYPE_CODE_REVIEW},
 }
 
 func ConvertPullRequestReviews(taskCtx core.SubTaskContext) error {
diff --git a/plugins/github/tasks/pr_review_extractor.go 
b/plugins/github/tasks/pr_review_extractor.go
index 7a6971bb..aed145d4 100644
--- a/plugins/github/tasks/pr_review_extractor.go
+++ b/plugins/github/tasks/pr_review_extractor.go
@@ -31,7 +31,7 @@ var ExtractApiPullRequestReviewsMeta = core.SubTaskMeta{
        EntryPoint:       ExtractApiPullRequestReviews,
        EnabledByDefault: true,
        Description:      "Extract raw PullRequestReviewers data into tool 
layer table github_reviewers",
-       DomainTypes:      []string{core.DOMAIN_TYPE_CROSS},
+       DomainTypes:      []string{core.DOMAIN_TYPE_CROSS, 
core.DOMAIN_TYPE_CODE_REVIEW},
 }
 
 type PullRequestReview struct {

Reply via email to