From 94263cb9e0ba91db67d93b846a343c0870bd9a5e Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Wed, 11 Oct 2023 13:27:00 +0800 Subject: [PATCH] fix: skipped github jobs were not handled properly --- 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 6b93d51c95c..7041fb23e65 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"},