.nh .TH "glab" "1" "Dec 2024" "Auto generated by spf13/cobra" "" .SH NAME .PP glab-ci-lint - Checks if your \fB\&.gitlab-ci.yml\fR file is valid. .SH SYNOPSIS .PP \fBglab ci lint [flags]\fP .SH DESCRIPTION .PP Checks if your \fB\&.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] Response includes 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 this command. .PP \fB-R\fP, \fB--repo\fP="" Select another repository. Can use either \fBOWNER/REPO\fR or \fBGROUP/NAMESPACE/REPO\fR format. Also accepts full URL or Git URL. .SH EXAMPLE .EX # Uses .gitlab-ci.yml in the current directory $ glab ci lint $ glab ci lint .gitlab-ci.yml $ glab ci lint path/to/.gitlab-ci.yml .EE .SH SEE ALSO .PP \fBglab-ci(1)\fP