From c50901d9b3a9968f3ed3e092452e71b2878ea8cb Mon Sep 17 00:00:00 2001 From: ChristopherHX Date: Sun, 7 Apr 2024 22:28:17 +0200 Subject: [PATCH] fix: skipped jobs have no result --- pkg/runner/run_context.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/runner/run_context.go b/pkg/runner/run_context.go index 8027f791742..ba4835b90e0 100644 --- a/pkg/runner/run_context.go +++ b/pkg/runner/run_context.go @@ -697,6 +697,7 @@ func (rc *RunContext) isEnabled(ctx context.Context) (bool, error) { } if !runJob { + rc.result("skipped") l.WithField("jobResult", "skipped").Debugf("Skipping job '%s' due to '%s'", job.Name, job.If.Value) return false, nil }