Use this when workflow steps run in strict order.
Sequential Execution · Workflow Automation
Sequential execution in workflows runs steps strictly one after another, which is simple and needed when each step uses the previous step's result.
1. Sequential execution runs steps in order.
2. Simple and predictable.
3. Slower for independent work.
4. Stop on failure.
5. Use for dependent steps.
step 1 → step 2 → step 3
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
The negative fixture should deliberately exercise risks such as branch condition drift, hidden dependency, duplicate parallel mutation, approval bypass, retry storm, partial rollback and successful orchestration with failed consumer state, choosing the cases most relevant to strict dependency/order, stop/continue policy, state handoff and proving later steps do not run against invalid partial state.
Step 2 Common mistakes Narrow the fault
- Sequential runs that take hours because nothing needed ordering.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Steps run strictly in order.
- Each step can use the previous output.
- Simple but slower.
- Ordered steps — sequence
- Stop on failure — safety
- Total runtime — duration
ReferenceWhy it matters1 section · depth on demand
What it is
Sequential execution runs steps one after another; each starts only when the previous one finished. Use it when order matters or targets cannot handle parallel changes.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Sequential execution runs workflow steps one after another, each starting only when the previous one succeeded. It is the default in most workflow tools and the right choice when each step depends on the result of the one before or when changes must be verified one at a time.
Advantages: simple to read and debug, predictable resource use, a clear point where things stopped. Disadvantage: total duration is the sum of all steps.
When a sequential workflow becomes too slow, look for steps that do not depend on each other and run those in parallel, keeping the dependent chain sequential.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Workflow Automation > Sequential Execution. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax · confidence 94%Deep reference
Healthy vs suspicious evidence
Output interpretation
For strict dependency/order, stop/continue policy, state handoff and proving later steps do not run against invalid partial state, prefer typed fields and stable IDs over human presentation text.