CI Lint

June 21, 2026 ยท View on GitHub

Validate .gitlab-ci.yml snippets and project pipeline configs.

Tools in this group


validate_ci_lint

๐Ÿ“– Read-only

Validate provided GitLab CI/CD YAML content for a project

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or URL-encoded path
contentstringโœ“GitLab CI/CD YAML content to validate
dry_runbooleanRun pipeline creation simulation
include_jobsbooleanInclude jobs in the lint response
refstringBranch or tag context for dry_run validation

validate_project_ci_lint

๐Ÿ“– Read-only

Validate an existing .gitlab-ci.yml configuration for a project

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or URL-encoded path
content_refstringCommit SHA, branch, or tag to read the existing CI config from
dry_runbooleanRun pipeline creation simulation
dry_run_refstringBranch or tag context for dry_run validation
include_jobsbooleanInclude jobs in the lint response

list_ci_catalog_resources

๐Ÿ“– Read-only

List GitLab CI/CD Catalog resources/components visible to the user

Parameters

ParameterTypeRequiredDescription
searchstringSearch catalog resources by name or description
firstintegerNumber of resources to return (default: 20, max: 100)
afterstringGraphQL cursor for the next page
group_idsarrayFilter to catalog resources in these group IDs
scopeenum (ALL | NAMESPACES)Catalog resource scope
sortenum (CREATED_ASC | CREATED_DESC | LATEST_RELEASED_AT_ASC | LATEST_RELEASED_AT_DESC | NAME_ASC | NAME_DESC | STAR_COUNT_ASC | STAR_COUNT_DESC | USAGE_COUNT_ASC | USAGE_COUNT_DESC)Sort order
topicsarrayFilter by project topic names
verification_levelenum (GITLAB_MAINTAINED | GITLAB_PARTNER_MAINTAINED | UNVERIFIED | VERIFIED_CREATOR_MAINTAINED | VERIFIED_CREATOR_SELF_MANAGED)Filter by verification level

get_ci_catalog_resource

๐Ÿ“– Read-only

Get details for a GitLab CI/CD Catalog resource, including versions and components

Parameters

ParameterTypeRequiredDescription
version_limitintegerNumber of versions to include (default: 5, max: 20)
component_limitintegerNumber of components per version to include (default: 20, max: 50)
component_namestringFilter returned components by component name
include_readmebooleanInclude version README content
idstringCI/CD Catalog resource global ID. Required when full_path is omitted.
full_pathstringCI/CD Catalog resource full project path. Required when id is omitted.