glab-ci-lint - Man Page
Checks if your .gitlab-ci.yml file is valid.
Synopsis
glab ci lint [flags]
Description
Checks if your .gitlab-ci.yml file is valid.
Options
--dry-run[=false] Run pipeline creation simulation.
--include-jobs[=false] The response should 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
--help[=false] Show help for command
- -R, ā--repo="" Select another repository using the OWNER/REPO or GROUP/NAMESPACE/REPO
- format or full URL or git URL
Example
$ 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
See Also
Referenced By
Apr 2024 Auto generated by spf13/cobra