CI/CD YAML Validator
Validates CI/CD YAML files (GitHub Actions, GitLab CI, Bitbucket Pipelines).
YAML Content
Results
What is CI/CD YAML Validator?
This CI/CD YAML Validator parses one YAML document and applies a few rules to fields associated with GitHub Actions, GitLab CI and Bitbucket Pipelines. It does not run a pipeline, resolve actions or includes, or validate the full configuration schema of any provider.
How to use CI/CD YAML Validator
Paste {on: push, jobs: {build: {runs-on: ubuntu-latest, steps: [{run: "echo Hello"}]}}} and choose Validate. This small GitHub Actions example should produce “No issues found”. The tool checks steps and runs-on when it sees a jobs mapping. Loading the example does not execute echo or start a GitHub workflow.
When is CI/CD YAML Validator useful?
Use it for basic YAML syntax errors and selected field mistakes. GitLab-oriented checks inspect the types of stages and image; a Bitbucket-oriented check looks for pipelines.default. These rules are triggered by field names rather than an authoritative provider schema. A plain YAML object with no recognized pipeline fields can also pass.
Example
Try {on: push, jobs: {build: {steps: [{run: "echo Hello"}]}}}. It should report that runs-on is missing from build. That warning is useful for this ordinary step-based job. It is not universal: GitHub jobs calling reusable workflows use a different structure and can be incorrectly flagged for missing steps or runs-on.
Practical notes
Valid advanced forms can trigger warnings, including GitLab image mappings and Bitbucket configurations that only define branch or custom pipelines. Passing does not verify expressions, permissions, secrets, runner availability or the behavior of commands. Use the intended provider’s current configuration validation for final review. Pasted YAML is processed in the browser; no CI service is contacted. Reference: GitHub reusable workflows.