Validate .gitlab-ci.yml
gitlab_lint_ci_configValidate CI configuration against project context before committing. Use dry-run to simulate pipeline creation and prevent errors.
Instructions
Validates CI configuration against the project's context before committing it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Contents of a .gitlab-ci.yml to validate | |
| dry_run | No | Also simulate pipeline creation | |
| project_id | No | Project id or URL-encoded path, e.g. `42` or `group/subgroup/project`. Falls back to GITLAB_PROJECT_ID. |