.nh .TH "glab" "1" "Apr 2024" "Auto generated by spf13/cobra" "" .SH NAME .PP glab-ci-lint - Checks if your \fB\fC\&.gitlab-ci.yml\fR file is valid. .SH SYNOPSIS .PP \fBglab ci lint [flags]\fP .SH DESCRIPTION .PP Checks if your \fB\fC\&.gitlab-ci.yml\fR file is valid. .SH OPTIONS .PP \fB--dry-run\fP[=false] Run pipeline creation simulation. .PP \fB--include-jobs\fP[=false] The response should include the list of jobs that would exist in a static check or pipeline simulation. .PP \fB--ref\fP="" When dry-run is true, sets the branch or tag context for validating the CI/CD YAML configuration. .SH OPTIONS INHERITED FROM PARENT COMMANDS .PP \fB--help\fP[=false] Show help for command .PP \fB-R\fP, \fB--repo\fP="" Select another repository using the \fB\fCOWNER/REPO\fR or \fB\fCGROUP/NAMESPACE/REPO\fR format or full URL or git URL .SH EXAMPLE .PP .RS .nf $ glab ci lint # Uses .gitlab-ci.yml in the current directory $ glab ci lint .gitlab-ci.yml $ glab ci lint path/to/.gitlab-ci.yml .fi .RE .SH SEE ALSO .PP \fBglab-ci(1)\fP