{"id":7745482,"name":"eic/trigger-gitlab-ci","ecosystem":"actions","description":"Triggers the GitLab CI pipeline through webhook pipeline trigger and associated token","homepage":"","licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/eic/trigger-gitlab-ci","keywords_array":["action","actions","github-action","github-actions","gitlab","gitlab-ci"],"namespace":"eic","versions_count":8,"first_release_published_at":"2022-07-13T08:30:05.000Z","latest_release_published_at":"2025-01-27T21:08:36.000Z","latest_release_number":"v3.2","last_synced_at":"2026-04-11T07:41:54.630Z","created_at":"2023-05-17T10:13:20.550Z","updated_at":"2026-04-11T07:41:54.631Z","registry_url":"https://github.com/eic/trigger-gitlab-ci","install_command":null,"documentation_url":null,"metadata":{"name":"Trigger GitLab CI through webhooks","description":"Triggers the GitLab CI pipeline through webhook pipeline trigger and associated token","branding":{"icon":"play","color":"blue"},"inputs":{"url":{"description":"GitLab server url (at the level under which the API starts)","required":false,"default":"https://gitlab.com"},"project_id":{"description":"GitLab project ID","required":true,"default":""},"token":{"description":"GitLab pipeline trigger token (GitLab Settings \u003e CI/CD \u003e Pipeline Triggers)","required":true,"default":""},"ref_name":{"description":"GitLab project ref_name (branch or tag name; defaults to main)","required":false,"default":"main"},"variables":{"description":"Additional variables in VAR=value format to pass to the pipeline","required":false,"default":""}},"outputs":{"json":{"description":"GitLab webhook response (JSON)","value":"${{ steps.call-webhook.outputs.json }}"},"web_url":{"description":"GitLab pipeline URL","value":"${{ steps.call-webhook.outputs.web_url }}"}},"runs":{"using":"composite","steps":[{"id":"call-webhook","run":"# Parse VARIABLES into multiple arguments\nvariable_args=()\nwhile IFS= read -r variable; do\n  if [[ $variable =~ ^([a-zA-Z_][a-zA-Z0-9_]*)=(.*) ]] ; then\n    variable_args+=(\"-F\" \"variables[${BASH_REMATCH[1]}]=${BASH_REMATCH[2]}\")\n  else\n    echo \"Unable to parse variable $variable\"\n  fi\ndone \u003c\u003c\u003c \"${VARIABLES}\"\n# Fail if no token\ntest -n \"${TOKEN}\" || echo \"::warning ::No secret token was set!\"\n# Enable command echo\nset -x\n# Call webhook\ncurl -X POST \\\n     --fail-with-body \\\n     -o response.json \\\n     -F \"token=${TOKEN}\" \\\n     -F \"ref=${REF_NAME}\" \\\n     \"${variable_args[@]}\" \\\n     ${URL}/api/v4/projects/${PROJECT_ID}/trigger/pipeline \\\n     || ( RETCODE=\"$?\"; jq . response.json; exit \"$RETCODE\" )\n# Disable command echo\nset +x\n# Print and parse json\njq . response.json\necho \"json\u003c\u003cEND\" \u003e\u003e $GITHUB_OUTPUT\ncat response.json \u003e\u003e $GITHUB_OUTPUT\necho \"END\" \u003e\u003e $GITHUB_OUTPUT\necho \"web_url\u003c\u003cEND\" \u003e\u003e $GITHUB_OUTPUT\ncat response.json | jq --raw-output '.web_url' \u003e\u003e $GITHUB_OUTPUT\necho \"END\" \u003e\u003e $GITHUB_OUTPUT\n","shell":"bash","env":{"URL":"${{ inputs.url }}","PROJECT_ID":"${{ inputs.project_id }}","TOKEN":"${{ inputs.token }}","REF_NAME":"${{ inputs.ref_name }}","VARIABLES":"${{ inputs.variables }}"}}]},"default_branch":"main","path":null},"repo_metadata":{"id":44471498,"uuid":"512719729","full_name":"eic/trigger-gitlab-ci","owner":"eic","description":"Trigger GitLab CI through webhooks","archived":false,"fork":false,"pushed_at":"2025-01-27T21:11:02.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-02T00:34:14.720Z","etag":null,"topics":["action","actions","github-action","github-actions","gitlab","gitlab-ci"],"latest_commit_sha":null,"homepage":"","language":null,"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/eic.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":"2022-07-11T10:57:19.000Z","updated_at":"2025-01-27T21:08:40.000Z","dependencies_parsed_at":"2024-04-24T18:07:24.061Z","dependency_job_id":"8804222c-a43d-4feb-805c-25e66b47333f","html_url":"https://github.com/eic/trigger-gitlab-ci","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eic%2Ftrigger-gitlab-ci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eic%2Ftrigger-gitlab-ci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eic%2Ftrigger-gitlab-ci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eic%2Ftrigger-gitlab-ci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eic","download_url":"https://codeload.github.com/eic/trigger-gitlab-ci/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241444053,"owners_count":19963749,"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"},"owner_record":{"login":"eic","name":"Electron-Ion Collider (EIC) Software","uuid":"62705204","kind":"organization","description":"Electron-Ion Collider (EIC) software, documentation and resources","email":"eic-software-l-owner@lists.bnl.gov","website":"https://eic.github.io","location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/62705204?v=4","repositories_count":145,"last_synced_at":"2024-05-11T18:52:17.524Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/eic","funding_links":[],"total_stars":80,"followers":114,"following":0,"created_at":"2022-11-14T07:57:46.526Z","updated_at":"2024-05-11T18:52:21.946Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eic","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eic/repositories"},"tags":[{"name":"v3.2","sha":"1318fa9f4adda50e003db101bc3f9d5ae1b6ab91","kind":"commit","published_at":"2025-01-27T21:08:36.000Z","download_url":"https://codeload.github.com/eic/trigger-gitlab-ci/tar.gz/v3.2","html_url":"https://github.com/eic/trigger-gitlab-ci/releases/tag/v3.2","dependencies_parsed_at":null,"dependency_job_id":"b34f722a-ba32-4ba0-a2a4-7f7bb8571c7d","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eic%2Ftrigger-gitlab-ci/tags/v3.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eic%2Ftrigger-gitlab-ci/tags/v3.2/manifests"},{"name":"v3.1","sha":"52b35f95ff1c94bbf0bf2680938300a0ebc44bae","kind":"commit","published_at":"2024-09-11T23:56:34.000Z","download_url":"https://codeload.github.com/eic/trigger-gitlab-ci/tar.gz/v3.1","html_url":"https://github.com/eic/trigger-gitlab-ci/releases/tag/v3.1","dependencies_parsed_at":"2024-09-13T04:29:56.260Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eic%2Ftrigger-gitlab-ci/tags/v3.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eic%2Ftrigger-gitlab-ci/tags/v3.1/manifests"},{"name":"v3","sha":"5651b8b0d87f0c6c14f629314737793ecd8b82fb","kind":"commit","published_at":"2024-05-09T01:48:32.000Z","download_url":"https://codeload.github.com/eic/trigger-gitlab-ci/tar.gz/v3","html_url":"https://github.com/eic/trigger-gitlab-ci/releases/tag/v3","dependencies_parsed_at":"2024-05-10T04:09:27.265Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eic%2Ftrigger-gitlab-ci/tags/v3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eic%2Ftrigger-gitlab-ci/tags/v3/manifests"},{"name":"v3.0","sha":"5651b8b0d87f0c6c14f629314737793ecd8b82fb","kind":"commit","published_at":"2024-05-09T01:48:32.000Z","download_url":"https://codeload.github.com/eic/trigger-gitlab-ci/tar.gz/v3.0","html_url":"https://github.com/eic/trigger-gitlab-ci/releases/tag/v3.0","dependencies_parsed_at":"2024-09-13T04:29:56.486Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eic%2Ftrigger-gitlab-ci/tags/v3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eic%2Ftrigger-gitlab-ci/tags/v3.0/manifests"},{"name":"v2.1","sha":"4e597073ee8f1496b96b65faf67ffc8218266b67","kind":"commit","published_at":"2024-04-24T16:37:16.000Z","download_url":"https://codeload.github.com/eic/trigger-gitlab-ci/tar.gz/v2.1","html_url":"https://github.com/eic/trigger-gitlab-ci/releases/tag/v2.1","dependencies_parsed_at":"2024-04-26T04:15:31.043Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eic%2Ftrigger-gitlab-ci/tags/v2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eic%2Ftrigger-gitlab-ci/tags/v2.1/manifests"},{"name":"v2.0","sha":"6ddf4b484ad9600f57a609fe1b651672563f0d5d","kind":"commit","published_at":"2022-10-19T23:26:03.000Z","download_url":"https://codeload.github.com/eic/trigger-gitlab-ci/tar.gz/v2.0","html_url":"https://github.com/eic/trigger-gitlab-ci/releases/tag/v2.0","dependencies_parsed_at":"2024-04-26T04:15:31.042Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eic%2Ftrigger-gitlab-ci/tags/v2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eic%2Ftrigger-gitlab-ci/tags/v2.0/manifests"},{"name":"v2","sha":"49623af3c488c33e4cb24f52ee13119e657dceab","kind":"commit","published_at":"2022-07-21T22:22:42.000Z","download_url":"https://codeload.github.com/eic/trigger-gitlab-ci/tar.gz/v2","html_url":"https://github.com/eic/trigger-gitlab-ci/releases/tag/v2","dependencies_parsed_at":"2023-05-30T22:07:43.927Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eic%2Ftrigger-gitlab-ci/tags/v2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eic%2Ftrigger-gitlab-ci/tags/v2/manifests"},{"name":"v1","sha":"a7144dec4123f1d0084a9b6b1ee0089b5916d728","kind":"commit","published_at":"2022-07-13T08:30:05.000Z","download_url":"https://codeload.github.com/eic/trigger-gitlab-ci/tar.gz/v1","html_url":"https://github.com/eic/trigger-gitlab-ci/releases/tag/v1","dependencies_parsed_at":"2023-05-30T22:07:44.096Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eic%2Ftrigger-gitlab-ci/tags/v1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eic%2Ftrigger-gitlab-ci/tags/v1/manifests"}]},"repo_metadata_updated_at":"2025-03-02T00:37:49.866Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":14,"rankings":{"downloads":null,"dependent_repos_count":10.701948977974965,"dependent_packages_count":0.0,"stargazers_count":34.691807954365395,"forks_count":16.162256377753128,"docker_downloads_count":null,"average":15.389003327523373},"purl":"pkg:githubactions/eic/trigger-gitlab-ci","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/eic/trigger-gitlab-ci","docker_dependents_count":1,"docker_downloads_count":71542,"usage_url":"https://repos.ecosyste.ms/usage/actions/eic/trigger-gitlab-ci","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/eic/trigger-gitlab-ci/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":null,"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/eic%2Ftrigger-gitlab-ci/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/eic%2Ftrigger-gitlab-ci/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/eic%2Ftrigger-gitlab-ci/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/eic%2Ftrigger-gitlab-ci/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/eic%2Ftrigger-gitlab-ci/codemeta","maintainers":[]}