Small Tools
Git & DevOps utility

GitHub Actions YAML Validator

Parse workflow YAML and check basic normal-job and reusable workflow caller structure locally.

● This tool runs entirely in your browser. Your input is never uploaded to our servers.
Output
Your result will appear here…

How to use GitHub Actions YAML Validator

  1. Paste a workflow YAML document or load the example.
  2. Select Validate to check normal jobs or job-level reusable workflow callers.
  3. Review the scope note, then use GitHub and your repository's tests to verify events, expressions, permissions, and referenced workflows.

Example

Input / settings:

name: CI
on: push
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - run: npm test
  reuse:
    needs: test
    uses: ./.github/workflows/reusable.yml
    secrets: inherit

Output:

Valid GitHub Actions structure ✓
Jobs: test, reuse

When to use

Overview

Parse workflow YAML and check basic normal-job and reusable workflow caller structure locally.

Supported input

A YAML mapping with a non-empty jobs mapping. Normal jobs are checked for runs-on and selected step structure. Job-level uses marks a reusable workflow caller and must be a non-empty string; callers must not define runs-on or steps.

Output details

A list of job names when the selected structure checks pass, or specific errors. Passing is not proof that GitHub will accept or successfully run the workflow.

Limitations

Privacy and security

This tool runs entirely in your browser. Your input is never uploaded to our servers.

References

Frequently asked questions

Does this replicate GitHub's workflow validator?

No. It checks selected job structure, not all workflow events, expressions, permissions, or runner behavior.

Can I validate a job that calls a reusable workflow?

Yes. A job with a non-empty uses string is treated as a caller. It must not define runs-on or steps. The referenced workflow, allowed reference syntax, inputs, secrets, and other caller keywords are not fully validated.

Does it run or fetch the workflow?

No. Parsing and checks run in your browser. Local and remote workflow references are kept as text and are not opened or executed.

Does the example's reusable workflow already exist?

The path is illustrative. This tool cannot check whether that file exists or whether your repository has permission to use it.

Learn more

Related tools