wsr

engine

Workflow execution engine. Orchestrates job scheduling, expression evaluation, step dispatch, and result propagation.

responsibilities

expression engine

Evaluates GitHub Actions expression syntax: $.

supported contexts

context fields
github.* event_name, ref, sha, actor, repository
env.* job and step level env vars
runner.* os, arch, temp, tool_cache
secrets.* injected from secrets_from file

supported functions

type functions
string contains, startsWith, endsWith, format
JSON fromJSON, toJSON
status success(), failure(), always(), cancelled()

job dag

Jobs are sorted topologically by their needs: graph. Independent jobs run in parallel; dependent jobs wait for their predecessors to complete and expose their outputs:.

source