Stage not declared
stages: [test, build] deploy: stage: release
GitLab refuses the pipeline: release is not in stages. YAMLTools marks the job and lists the valid stages.
Paste your .gitlab-ci.yml and check it without opening the project CI Lint: jobs, stages and dependencies, explained line by line.
Paste a file on the left to validate it.

Ship your next product faster with AI-ready Next.js
The boilerplate designed for AI to understand your project. Use code YAMLTOOLS for 5% off!
The ones that break a deploy most often, and how YAMLTools reports them.
stages: [test, build] deploy: stage: release
GitLab refuses the pipeline: release is not in stages. YAMLTools marks the job and lists the valid stages.
needs: [test, lint] # no lint job
The pipeline is not created. The report tells you which job name is missing.
rules: - if: $CI_COMMIT_BRANCH only: [main]
GitLab does not allow both in the same job. Keep rules: only/except are deprecated.
Validation, risk analysis, diagram and conversions run in your browser. Nothing is uploaded unless you decide to save it with an account.
Pipelines, includes and what happens with your file.