Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
glab(1)								       glab(1)

NAME
       glab-ci-lint - Check if your .gitlab-ci.yml file	is valid.

SYNOPSIS
       glab ci lint [flags]

DESCRIPTION
       Defaults	 to the	.gitlab-ci.yml file in the current directory.  You can
       also pass a URL to validate a remote file. Use  --dry-run  to  simulate
       pipeline	 creation,  and	--ref to set the branch	or tag context for the
       simulation.

OPTIONS
       --dry-run[=false]      Run pipeline creation simulation.

       --include-jobs[=false]	   Include the list of jobs that  would	 exist
       in a static check or pipeline simulation.

       --ref=""	      When '--dry-run' is true,	sets the branch	or tag context
       for validating the CI/CD	YAML configuration.

OPTIONS	INHERITED FROM PARENT COMMANDS
       -h, --help[=false]      Show help for this command.

       -R, --repo=""	   Select  another  repository.	 You  can  use	either
       OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL	or Git URL is also ac-
       cepted.

EXAMPLE
       # Uses .gitlab-ci.yml in	the current directory
       glab ci lint

       # Lint a	specific file
       glab ci lint .gitlab-ci.yml
       glab ci lint path/to/.gitlab-ci.yml

SEE ALSO
       glab-ci(1)

Auto generated by spf13/cobra	   Jun 2026			       glab(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=glab-ci-lint&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help