validate_ci_lint
Validate GitLab CI/CD YAML content for a project before applying changes. This read-only check catches configuration errors and verifies pipeline definitions without mutating GitLab data.
Instructions
Validate provided GitLab CI/CD YAML content for a project. Use this to check configuration without applying it; choose a create or update tool only after validation succeeds. It is read-only and does not mutate GitLab data; missing resources, invalid identifiers, insufficient permission, and rate limits are returned as errors. When project_id or group_id is accepted, provide the numeric ID or complete URL-encoded path described by the schema; use required identifiers and pagination fields exactly as documented.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch or tag context for dry_run validation | |
| content | Yes | GitLab CI/CD YAML content to validate | |
| dry_run | No | Run pipeline creation simulation | |
| project_id | Yes | Project ID or URL-encoded path | |
| include_jobs | No | Include jobs in the lint response |