validate_project_ci_lint
Validate a project's .gitlab-ci.yml configuration to ensure correctness, optionally simulating pipeline creation and including job details.
Instructions
Validate an existing .gitlab-ci.yml configuration for a project
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Run pipeline creation simulation | |
| project_id | Yes | Project ID or URL-encoded path | |
| content_ref | No | Commit SHA, branch, or tag to read the existing CI config from | |
| dry_run_ref | No | Branch or tag context for dry_run validation | |
| include_jobs | No | Include jobs in the lint response |