GitLab API icon

GitLab API

Gitlab

Actions1062

Ci_lint → postApiV4ProjectsIdCiLint

AI-generated

Summary

Validate a project's CI/CD configuration using GitLab's CI lint endpoint.

Inputs

  • projectId (required) — ID of the GitLab project (path parameter).
  • ciConfig (required) — CI/CD configuration to lint (request body).
  • skipAuthentication — If true, skips authentication (default false).
  • authentication — Hidden; uses gitlabApi credential when skipAuthentication is false.
  • baseUrl — Base URL of the GitLab instance (default https://gitlab.com).
  • method — HTTP method to use (options: GET, POST, PUT, DELETE, HEAD, PATCH; default GET). Set to POST for this operation.

Output shape

Response from GitLab API indicating whether the CI configuration is valid, any errors, and the merged YAML.

Exact shape follows GitLab's CI lint endpoint specification.

Links

Discussion