1
1
mirror of https://github.com/nektos/act.git synced 2024-09-11 12:35:25 +03:00

fix: skipped jobs have no result (#2276)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
ChristopherHX 2024-04-11 04:31:18 +02:00 committed by GitHub
parent 89e3c14649
commit 5a9dd3d0ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
}