GitHub Actions Validator — Workflow Syntax & CI/CD Security Audit
Validate GitHub Actions workflow YAML for syntax errors, missing required fields, deprecated commands, mutable action refs, outdated action versions, and broken job dependencies. Get per-job results with fix hints in real time.
How to Use GitHub Actions Validator — Workflow Syntax & CI/CD Security Audit
How to Use the GitHub Actions Workflow Validator
Step 1: Paste Your Workflow YAML
Copy your .github/workflows/*.yml file and paste it into the input area. Validation runs instantly as you type using js-yaml for parsing followed by schema checks.
Step 2: Review Workflow-Level Issues
The "Workflow" section shows issues at the top level of the file — missing on triggers, missing jobs, no permissions block, or unknown trigger event names.
Step 3: Review Per-Job Results
Each job in the workflow gets its own result card. The card header shows the job name and a compact issue count (e.g. 2e 1w 3i for 2 errors, 1 warning, 3 info). Click any issue row to expand a fix hint.
Step 4: Load an Example
Use the example buttons to see validation in action:
- Broken Workflow — missing
on, noruns-on, deprecated::set-output, step with no action - Outdated & Unsafe — mutable
@mainref, outdated actions, brokenneedsreference - Best-Practice — clean workflow with
permissions, pinned actions,timeout-minutes
Checks Performed
| Severity | Check | Details |
|---|---|---|
| Error | Missing on | Required trigger field absent |
| Error | Missing jobs | Required jobs section absent |
| Error | Missing runs-on | Job has no runner defined |
| Error | Missing steps | Job has no steps |
| Error | Step without uses or run | Step does nothing |
| Error | Step with both uses and run | Conflicting step fields |
| Error | Action with no @ pin | No version reference at all |
| Error | Action pinned to mutable branch | @main, @master, @HEAD etc. |
| Error | Broken needs reference | Depends on non-existent job |
| Error | Invalid cron expression | Wrong number of fields in schedule |
| Warning | Outdated action version | Old actions/checkout@v2 etc. |
| Warning | Floating major-version tag | @v1 may receive breaking updates |
| Warning | Deprecated ::set-output | Should use $GITHUB_OUTPUT |
| Warning | Deprecated ::save-state | Should use $GITHUB_STATE |
| Warning | Deprecated ::set-env | Should use $GITHUB_ENV |
| Warning | continue-on-error: true | Job failure will be hidden |
| Info | Unknown trigger event | Not a standard GHA event name |
| Info | Missing workflow name | Harder to navigate in Actions UI |
| Info | Missing job name | Job appears with its ID only |
| Info | No timeout-minutes | Job can run indefinitely |
| Info | No permissions | Default broad token permissions |
Frequently Asked Questions
Most Viewed Tools
Screen Size Converter — Diagonal Dimension Tool
Calculate screen width and height from diagonal size and aspect ratio. Convert between inches and centimeters for displays, TVs, and monitors with instant dimension calculations.
Use Tool →DPI Calculator — Print Resolution Tool
Calculate DPI (dots per inch), image dimensions, and print sizes. Convert between pixels and physical dimensions for printing and displays.
Use Tool →TOTP Code Generator — 2FA Testing Tool
Generate time-based one-time passwords from a TOTP secret key. Enter your base32 secret, choose a period and digit length, and get the current and next codes with a live countdown timer. Useful for testing and debugging 2FA integrations.
Use Tool →Password Entropy Calculator — Crack Time Estimator
Calculate the information-theoretic bit entropy of any password or API key. Detects character set pools automatically, shows the total number of possible combinations, and estimates crack time across five attack scenarios from rate-limited web logins to GPU cracking clusters.
Use Tool →JSONL Formatter — Line-by-Line Validator
Format, validate, and inspect JSON Lines (JSONL) and NDJSON files. Validates each line individually, reports parse errors by line number, outputs compact JSONL or a pretty-print preview, and lets you download the cleaned file.
Use Tool →Seconds to Time Converter — HH:MM:SS Formatter
Convert seconds to HH:MM:SS time format instantly with precise calculations and easy-to-read formatting.
Use Tool →JSON to Zod — Schema Generator
Generate Zod validation schema code from a JSON sample object. Infers z.string(), z.number(), z.boolean(), z.array(), z.object(), and z.null() types automatically. Handles nested objects, arrays of objects with optional field detection, and outputs copy-ready TypeScript with import and z.infer type alias.
Use Tool →TLS Cipher Suite Checker — Strength Analyzer
Check TLS protocol version compatibility and cipher suite strength ratings against current best practices. Supports IANA and OpenSSL cipher names — rates each suite as Strong, Weak, or Deprecated and explains why.
Use Tool →Related DevOps & Infrastructure Tools
OpenTelemetry Span Builder — Construct, Validate, and Export OTel Spans
Configure span name and attributes and events and generate OpenTelemetry span setup code for popular SDKs
Use Tool →AWS S3 CORS Generator — Build, Audit, and Export S3 CORS Policies
Configure allowed origins/methods/headers and generate the S3 bucket CORS JSON policy
Use Tool →Prometheus Query Builder — Visual PromQL Generator & Alert Modeler
Build Prometheus PromQL queries with metric name/labels/aggregation and generate the query string
Use Tool →User Agent Parser — Browser & Device Decoder
Parse user agent strings to extract browser, operating system, device, and engine information. Essential for web analytics, device detection, and browser compatibility testing.
Use Tool →GitHub Actions Matrix Generator — Build, Validate & Optimize CI/CD Matrices
Define OS and runtime version combinations and generate the strategy.matrix configuration block
Use Tool →SSL Certificate Decoder — Expiry & SAN Inspector
Decode X.509 SSL/TLS certificates and RSA private keys in your browser. View subject, issuer, SANs, validity dates, key type, serial number, and SHA-256/SHA-1 fingerprints. Optionally check if a certificate and private key match.
Use Tool →Sitemap Validator — XML Sitemap Checker
Validate XML sitemaps against the sitemap protocol specification. Checks structure, required fields, URL count, changefreq values, and priority ranges. Supports both URL sitemaps and sitemap index files. Free and runs entirely in your browser.
Use Tool →Random User Agent Generator — Browser String Tool
Generate random browser user agent strings for testing and development.
Use Tool →Share Your Feedback
Help us improve this tool by sharing your experience