{"id":6326568,"name":"simp/github-action-gitlab-ci-syntax-check","ecosystem":"actions","description":"Validate a `.gitlab-ci.yml` file against a GitLab service's CI Linter API.","homepage":"","licenses":"apache-2.0","normalized_licenses":["Apache-2.0"],"repository_url":"https://github.com/simp/github-action-gitlab-ci-syntax-check","keywords_array":["github-actions","gitlab-ci"],"namespace":"simp","versions_count":1,"first_release_published_at":"2021-02-03T23:31:03.000Z","latest_release_published_at":"2021-02-03T23:31:03.000Z","latest_release_number":"1.0.0","last_synced_at":"2026-03-25T09:48:10.674Z","created_at":"2023-02-13T13:20:16.062Z","updated_at":"2026-03-25T09:48:10.674Z","registry_url":"https://github.com/simp/github-action-gitlab-ci-syntax-check","install_command":null,"documentation_url":null,"metadata":{"name":"Gitlab CI Syntax Check","description":"Validate a `.gitlab-ci.yml` file against a GitLab service's CI Linter API.","author":"SIMP Team","inputs":{"gitlab_api_url":{"description":"Specify a GitLab API other than gitlab.com","required":true,"default":"https://gitlab.com/api/v4"},"gitlab_api_private_token":{"description":"GitLab API private token (might help with rate-limiting?)","required":false}},"outputs":{"valid":{"description":"Returns `\"true\"` if the `.gitlab-ci.yml` is valid","value":"${{ steps.validate-glci-file.outputs.valid }}"}},"branding":{"icon":"gitlab","color":"green"},"runs":{"using":"composite","steps":[{"name":"Does GLCI file exist?","id":"glci-file-exists","shell":"bash","run":"if [ -f .gitlab-ci.yml ]; then\n  echo '.gitlab-ci.yml exists'\n  echo '::set-output name=exists::true'\nelse\n  echo '::error ::The \".gitlab-ci.yml\" file is missing!'\n  echo '::set-output name=exists::false'\n  false\nfi\n"},{"name":"Validate GLCI file syntax","id":"validate-glci-file","env":{"GITLAB_API_URL":"${{ inputs.gitlab_api_url }}","GITLAB_API_PRIVATE_TOKEN":"${{ inputs.gitlab_api_private_token }}"},"shell":"bash","run":"GITLAB_API_URL=\"${GITLAB_API_URL:-https://gitlab.com/api/v4}\"\nCURL_CMD=(curl --http1.1 --fail --silent --show-error --header 'Content-Type: application/json' --data @-)\n[ -n \"$GITLAB_API_PRIVATE_TOKEN\" ] \u0026\u0026 CURL_CMD+=(--header \"Authorization: Bearer $GITLAB_API_PRIVATE_TOKEN\")\ndata=\"$(jq --null-input --arg yaml \"$(\u003c.gitlab-ci.yml)\" '.content=$yaml' )\"\nresponse=\"$(echo \"$data\" | \"${CURL_CMD[@]}\" \"${GITLAB_API_URL}/ci/lint?include_merged_yaml=true\" | jq . )\"\nstatus=$( echo \"$response\" | jq .status )\nif [[ \"$status\" == '\"valid\"' ]]; then\n  echo '.gitlab-ci.yml is valid'\n  echo '::set-output name=valid::true'\nelse\n  echo '::set-output name=valid::false'\n  echo '::error::The .gitlab-ci.yml\" file is invalid!'\n  echo \"$response\" | jq -r '.errors[] | . = \"::error ::\\(.)\"'\n  printf  \"::debug ::.gitlab-ci.yml CI lint service response: %s\\n\" \"$response\"\n  false\nfi\n"}]},"default_branch":"main","path":null},"repo_metadata":{"id":65155701,"uuid":"335455790","full_name":"simp/github-action-gitlab-ci-syntax-check","owner":"simp","description":"Validate the syntax of .gitlab-ci.yml files","archived":true,"fork":false,"pushed_at":"2023-06-26T15:25:47.000Z","size":167,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-01T23:08:04.027Z","etag":null,"topics":["github-actions","gitlab-ci"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simp.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-02T23:52:31.000Z","updated_at":"2024-07-24T21:00:01.000Z","dependencies_parsed_at":"2024-12-10T06:20:25.001Z","dependency_job_id":null,"html_url":"https://github.com/simp/github-action-gitlab-ci-syntax-check","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"8846e5702e4e71c8b223c0e3304d2417fc8dfe46"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/simp/github-action-gitlab-ci-syntax-check","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fgithub-action-gitlab-ci-syntax-check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fgithub-action-gitlab-ci-syntax-check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fgithub-action-gitlab-ci-syntax-check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fgithub-action-gitlab-ci-syntax-check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simp","download_url":"https://codeload.github.com/simp/github-action-gitlab-ci-syntax-check/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fgithub-action-gitlab-ci-syntax-check/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000832,"owners_count":26082950,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"},"owner_record":{"login":"simp","name":"SIMP","uuid":"12174186","kind":"organization","description":"The System Integrity Management Platform","email":"simp-dev@googlegroups.com","website":"https://simp-project.com","location":"Hanover, Maryland","twitter":"sicura_us","company":null,"icon_url":"https://avatars.githubusercontent.com/u/12174186?v=4","repositories_count":174,"last_synced_at":"2023-03-11T07:26:40.365Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/simp","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-02T22:09:54.698Z","updated_at":"2023-03-11T07:26:40.398Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simp","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simp/repositories"},"tags":[{"name":"1.0.0","sha":"ed458e7040ea4caebc3a216eab9433d723c1c295","kind":"commit","published_at":"2021-02-03T23:31:03.000Z","download_url":"https://codeload.github.com/simp/github-action-gitlab-ci-syntax-check/tar.gz/1.0.0","html_url":"https://github.com/simp/github-action-gitlab-ci-syntax-check/releases/tag/1.0.0","dependencies_parsed_at":"2023-06-01T10:38:49.011Z","dependency_job_id":null,"purl":"pkg:github/simp/github-action-gitlab-ci-syntax-check@1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fgithub-action-gitlab-ci-syntax-check/tags/1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fgithub-action-gitlab-ci-syntax-check/tags/1.0.0/manifests"}]},"repo_metadata_updated_at":"2025-10-10T23:20:03.759Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":84,"rankings":{"downloads":null,"dependent_repos_count":5.194105530026937,"dependent_packages_count":0.0,"stargazers_count":48.363175408017746,"forks_count":21.708128664237048,"docker_downloads_count":null,"average":18.816352400570434},"purl":"pkg:githubactions/simp/github-action-gitlab-ci-syntax-check","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/simp/github-action-gitlab-ci-syntax-check","docker_dependents_count":1,"docker_downloads_count":13,"usage_url":"https://repos.ecosyste.ms/usage/actions/simp/github-action-gitlab-ci-syntax-check","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/simp/github-action-gitlab-ci-syntax-check/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-03-29T19:10:57.514Z","issues_count":0,"pull_requests_count":1,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":56.0,"issues_closed_count":0,"pull_requests_closed_count":1,"pull_request_authors_count":1,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":0.0,"merged_pull_requests_count":1,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fgithub-action-gitlab-ci-syntax-check/issues","maintainers":[{"login":"op-ct","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/op-ct"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/simp%2Fgithub-action-gitlab-ci-syntax-check/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/simp%2Fgithub-action-gitlab-ci-syntax-check/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/simp%2Fgithub-action-gitlab-ci-syntax-check/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/simp%2Fgithub-action-gitlab-ci-syntax-check/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/simp%2Fgithub-action-gitlab-ci-syntax-check/codemeta","maintainers":[]}