Use this when reviewing workflow run history for audit or troubleshooting.
Workflow History
Workflow history records every run with inputs, step results, timings, approvals and errors, used for troubleshooting, audit and spotting slow or failing steps.
1. Workflow history shows every run, step and result.
2. Needed for audit and debugging.
3. Retention policy.
4. Mask secrets.
5. Metrics from history.
runs → history store → audit/search
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 immutable run/step timeline, inputs/revision, approvals/retries, outputs/errors and links to target-state evidence for later audit/replay.
Step 2 Common mistakes Narrow the fault
- Retention too short for audits.
- History without the input parameters.
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.
- History shows inputs, results, timings and approvals.
- Use it for audit.
- Find slow or failing steps.
- Run history with inputs/outputs — audit
- Retention of history — policy
- Search by ID/status — operations
ReferenceWhy it matters1 section · depth on demand
What it is
Workflow history keeps past runs with who started them, inputs, step results and logs — the audit trail for automated changes.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Workflow history is the record of past runs: who started them, with which inputs, which steps ran, how long they took and how they ended. It answers audit questions ("who changed this and when?"), supports troubleshooting ("what was different in the failed run?") and shows trends such as growing durations or recurring failures.
Keep in history: run ID, trigger and initiator, inputs (without secrets), step results and timings, final status, and links to logs and artifacts. Define retention: long enough for audits and investigations (often a year for change workflows), with large logs archived rather than kept in the engine's database, which slows down as history grows.
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 > Workflow History. 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 immutable run/step timeline, inputs/revision, approvals/retries, outputs/errors and links to target-state evidence for later audit/replay, prefer typed fields and stable IDs over human presentation text.