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:
parent
89e3c14649
commit
5a9dd3d0ea
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user