{"id":17377405,"url":"https://github.com/pradel/gitlab-ci-validate","last_synced_at":"2025-04-15T07:31:19.399Z","repository":{"id":20236101,"uuid":"89216324","full_name":"pradel/gitlab-ci-validate","owner":"pradel","description":"Checks if your .gitlab-ci.yml file is valid.","archived":false,"fork":false,"pushed_at":"2022-06-24T22:56:20.000Z","size":2898,"stargazers_count":20,"open_issues_count":2,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T18:49:37.248Z","etag":null,"topics":["cli","gitlab","gitlab-ci","npm-package","validate"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pradel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-24T08:35:12.000Z","updated_at":"2022-11-29T03:49:55.000Z","dependencies_parsed_at":"2022-09-08T15:00:38.656Z","dependency_job_id":null,"html_url":"https://github.com/pradel/gitlab-ci-validate","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradel%2Fgitlab-ci-validate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradel%2Fgitlab-ci-validate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradel%2Fgitlab-ci-validate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradel%2Fgitlab-ci-validate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pradel","download_url":"https://codeload.github.com/pradel/gitlab-ci-validate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249026771,"owners_count":21200505,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","gitlab","gitlab-ci","npm-package","validate"],"created_at":"2024-10-16T05:05:57.553Z","updated_at":"2025-04-15T07:31:18.130Z","avatar_url":"https://github.com/pradel.png","language":"JavaScript","readme":"# gitlab-ci-validate\n\n[![npm version](https://badge.fury.io/js/gitlab-ci-validate.svg)](https://badge.fury.io/js/gitlab-ci-validate)\n[![npm](https://img.shields.io/npm/dm/gitlab-ci-validate.svg)](https://www.npmjs.com/package/gitlab-ci-validate)\n\nChecks if your .gitlab-ci.yml file is valid.\n\nThanks to [@FGRibreau](https://github.com/FGRibreau) for the post about [validating .gitlab-ci.yml files](http://blog.fgribreau.com/2017/04/validate-gitlab-gitlab-ciyml-one-liner.html)!\n\n![](assets/example.gif)\n\n### Install:\n\n```\nyarn global add gitlab-ci-validate\nnpm i -g gitlab-ci-validate\n```\n\n### Usage:\n\n```\n# It will try to find if .gitlab-ci.yml is present on the current folder if no file path is provided\n$ gitlab-ci-validate \u003cfile-path\u003e\n\n# You can specify your own gitlab host if you need\n$ gitlab-ci-validate \u003cfile-path\u003e --host https://my-gitlab-url\n\n# You can provide a private token if you need\n$ gitlab-ci-validate \u003cfile-path\u003e --private-token \u003cmy-gitlab-token\u003e\n```\n\n### Options\n\n```\ngitlab-ci-validate validate --help\n\n  Description\n    Manage set of tracked repositories\n\n  Usage\n    $ gitlab-ci-validate validate [file] [options]\n\n  Options\n    -H, --host             Change the gitlab host (default to https://gitlab.com)\n    -P, --private-token    Authenticate to gitlab api using a private token\n    -p, --project-id       Toggle individual project scoped execution, specify the project id context\n    -w, --error-warn       Toggle warnings as an error condition\n    -h, --help             Displays this message\n```\n\n## License\n\nMIT © [Léo Pradel](https://www.leopradel.com/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpradel%2Fgitlab-ci-validate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpradel%2Fgitlab-ci-validate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpradel%2Fgitlab-ci-validate/lists"}