This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch release-v0.14
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/release-v0.14 by this push:
new a46be0fc fix: github pipeline add _raw flag
a46be0fc is described below
commit a46be0fcfbed564e23326e4fbd0b71f317c42bbc
Author: abeizn <[email protected]>
AuthorDate: Wed Oct 12 22:26:28 2022 +0800
fix: github pipeline add _raw flag
---
plugins/github/tasks/cicd_pipeline_convertor.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/github/tasks/cicd_pipeline_convertor.go
b/plugins/github/tasks/cicd_pipeline_convertor.go
index b447ddfc..e005f1c6 100644
--- a/plugins/github/tasks/cicd_pipeline_convertor.go
+++ b/plugins/github/tasks/cicd_pipeline_convertor.go
@@ -47,7 +47,7 @@ func ConvertPipelines(taskCtx core.SubTaskContext)
errors.Error {
pipeline := &models.GithubRun{}
cursor, err := db.Cursor(
- dal.Select("id, repo_id, connection_id, name, head_sha,
head_branch, status, conclusion, github_created_at, github_updated_at"),
+ dal.Select("id, repo_id, connection_id, name, head_sha,
head_branch, status, conclusion, github_created_at,
github_updated_at,_raw_data_remark, _raw_data_id, _raw_data_table,
_raw_data_params"),
dal.From(pipeline),
dal.Where("repo_id = ? and connection_id=?", repoId,
data.Options.ConnectionId),
)