GitHub Actions Workflow Explainer

Explain a workflow YAML step by step (rule-based, no AI).

The GitHub Actions Explainer reads a workflow YAML file and shows what it does as a tree: triggers, permissions, jobs, matrix size and steps. It also lists lint warnings for common problems such as unpinned actions and hard-coded secrets.

What is a GitHub Actions workflow?

A GitHub Actions workflow is a YAML file in .github/workflows that tells GitHub when to run automation and what to run. The on key lists the triggers, such as push, pull_request or a schedule with a cron expression. The jobs key defines one or more jobs; each job picks a runner with runs-on and runs a list of steps, which either use a reusable action (uses) or run a shell command (run). A strategy matrix expands one job into many, one per combination of values, for example several operating systems and Node versions. The permissions key limits what the automatic GITHUB_TOKEN may do. Because workflows can run with access to secrets and write permissions, small mistakes can have security consequences, and a quick structured overview helps with review.

How to use GitHub Actions Workflow Explainer

  1. Paste the workflow Paste the YAML into the 'Workflow YAML' box, or press Sample to try an example.
  2. Read the Explanation Open the tree to see triggers, permissions, jobs and steps. Matrix jobs show how many jobs they expand to.
  3. Review the warnings If any appear, the Lint warnings list shows where (for example jobs.build.steps[1]) and what was found.
  4. Fix and recheck Edit the YAML. When nothing matches, the message 'No lint warnings found.' appears.

Frequently asked questions

Does it run or validate against GitHub's schema?

No. It parses the YAML and applies a fixed set of rules. It does not execute anything or check every key against GitHub's official schema.

Are the lint warnings reliable?

They are heuristics based on pattern matching: for example any key named like a password with a literal value is flagged, and the injection check only matches certain github.event fields. Expect false positives and missed issues.

Is my workflow uploaded?

No. It is analysed in the page, and the tool states that nothing is uploaded and no AI is involved.

Why are schedule times marked UTC?

GitHub evaluates scheduled workflows in UTC, and the explanation adds that note after the cron description.

How is the matrix count calculated?

It multiplies the lengths of the axes, removes combinations matching exclude entries, and adds include entries that do not extend an existing combination.

Does it follow reusable workflows or composite actions?

No. It shows the uses reference and warns if a reusable workflow is not pinned, but it does not fetch or read it.