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

klesh pushed a commit to branch release-v0.19
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/release-v0.19 by this push:
     new d0c938381 fix: skipped github jobs were not handled properly (#6233)
d0c938381 is described below

commit d0c9383814c6aec34b6e33d027d7f990c435a414
Author: Klesh Wong <[email protected]>
AuthorDate: Mon Oct 16 20:45:52 2023 +0800

    fix: skipped github jobs were not handled properly (#6233)
---
 backend/plugins/github/tasks/cicd_job_convertor.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/plugins/github/tasks/cicd_job_convertor.go 
b/backend/plugins/github/tasks/cicd_job_convertor.go
index 6b93d51c9..7041fb23e 100644
--- a/backend/plugins/github/tasks/cicd_job_convertor.go
+++ b/backend/plugins/github/tasks/cicd_job_convertor.go
@@ -99,7 +99,7 @@ func ConvertJobs(taskCtx plugin.SubTaskContext) (err 
errors.Error) {
                                Result: devops.GetResult(&devops.ResultRule{
                                        Failed:  []string{"failure"},
                                        Success: []string{"success"},
-                                       Skipped: []string{"skipped"},
+                                       Skipped: []string{"skipped", "NEUTRAL"},
                                }, line.Conclusion),
                                Status: 
devops.GetStatus(&devops.StatusRule[string]{
                                        Done:    []string{"completed", 
"COMPLETED"},

Reply via email to