Interview Prep/GitHub Actions/Workflow Anatomy & Execution Model

Define workflow, run, job, step, action and runner in one line each.

BeginnerConceptWorkflow Anatomy & Execution Model
Answer
  • Workflow: a YAML file in .github/workflows/ that declares triggers and jobs.
  • Run: one execution of a workflow caused by one event (has a run ID and run attempts).
  • Job: a set of steps that executes on one runner; jobs run in parallel unless linked by needs.
  • Step: a single run command or a uses action inside a job, executed in order.
  • Action: a reusable unit defined by action.yml (composite, JavaScript or Docker).
  • Runner: the machine (hosted VM, self-hosted host, or ARC pod) running the actions/runner agent that executes jobs.
All GitHub Actions questions Roadmap: GitHub Actions

More on Workflow Anatomy & Execution Model