cli/docs/source/ci/ci/lint.md

859 B

stage group info
Create Code Review To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments

glab ci ci lint

Checks if your .gitlab-ci.yml file is valid.

glab ci ci lint [flags]

Examples

$ 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

Options inherited from parent commands

      --help              Show help for command
  -R, --repo OWNER/REPO   Select another repository using the OWNER/REPO or `GROUP/NAMESPACE/REPO` format or full URL or git URL