{"id":16527298,"url":"https://github.com/tomerh2001/semantic-release-gitlab-merge-request","last_synced_at":"2025-08-02T09:14:13.515Z","repository":{"id":197238044,"uuid":"698237253","full_name":"tomerh2001/semantic-release-gitlab-merge-request","owner":"tomerh2001","description":"Semantic-release plugin to automate the creation of merge requests for GitLab repositories when releasing new versions.","archived":false,"fork":false,"pushed_at":"2024-12-31T23:51:21.000Z","size":180,"stargazers_count":1,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T23:42:28.677Z","etag":null,"topics":["gitlab","plugin","semantic-release"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomerh2001.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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":"2023-09-29T13:16:27.000Z","updated_at":"2023-09-29T17:51:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"f4de2799-6959-49d6-969c-e595b03293d2","html_url":"https://github.com/tomerh2001/semantic-release-gitlab-merge-request","commit_stats":null,"previous_names":["tomerh2001/semantic-release-gitlab-merge-request"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomerh2001%2Fsemantic-release-gitlab-merge-request","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomerh2001%2Fsemantic-release-gitlab-merge-request/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomerh2001%2Fsemantic-release-gitlab-merge-request/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomerh2001%2Fsemantic-release-gitlab-merge-request/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomerh2001","download_url":"https://codeload.github.com/tomerh2001/semantic-release-gitlab-merge-request/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244771712,"owners_count":20507851,"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":["gitlab","plugin","semantic-release"],"created_at":"2024-10-11T17:34:26.443Z","updated_at":"2025-03-21T09:31:20.501Z","avatar_url":"https://github.com/tomerh2001.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# semantic-release-gitlab-merge-request\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n[![XO code style](https://shields.io/badge/code_style-5ed9c7?logo=xo\u0026labelColor=gray)](https://github.com/xojs/xo)\n\n\n[**semantic-release**](https://github.com/semantic-release/semantic-release) plugin to automate the creation of merge requests for GitLab repositories when releasing new versions.\n\n## Features\n\n- Prepare the release by pushing the release branch to GitLab.\n- Automatically create a merge request for the new release.\n\n## Install\n\n```bash\n$ npm install semantic-release-gitlab-merge-request -D \n$ yarn add semantic-release-gitlab-merge-request --dev\n$ bun i semantic-release-gitlab-merge-request --dev\n```\n\n## Usage\n\nTo use this plugin, add it to your `semantic-release` configuration. For instance:\n\n```json\n{\n  \"plugins\": [\n    \"semantic-release-gitlab-merge-request\"\n  ]\n}\n```\n\n## Configuration\n\n### Environment Variables\n\n| Variable                    | Description                                                           |\n| --------------------------- | --------------------------------------------------------------------- |\n| `GITLAB_TOKEN`              | **Required.** The token used to authenticate with GitLab.             |\n| `GITLAB_URL`                | The GitLab instance URL (e.g., 'https://gitlab.com').                 |\n| `GITLAB_PROJECT_ID`         | **Required.** The ID of the GitLab project.                           |\n| `GITLAB_SOURCE_BRANCH`      | The source branch for the merge request (defaults to `release/vx.y.z`)|\n\n### Options\n\n| Option          | Description                                                  | Default                                 |\n| --------------- | ------------------------------------------------------------ | --------------------------------------- |\n| `gitlabToken`   | The token used to authenticate with GitLab.                  | -                                       |\n| `gitlabUrl`     | The GitLab instance URL.                                     | 'https://gitlab.com'                     |\n| `projectId`     | The ID of the GitLab project.                                | -                                       |\n| `sourceBranch`  | The source branch for the merge request.                     | `release/vx.y.z`                        |\n| `targetBranch`  | **Required.** The target branch for the merge request.       | -                                       |\n\nRemember to replace `x.y.z` with the appropriate version numbers.\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, please [create an issue](#).\n\n## License\n\n[MIT License](#)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomerh2001%2Fsemantic-release-gitlab-merge-request","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomerh2001%2Fsemantic-release-gitlab-merge-request","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomerh2001%2Fsemantic-release-gitlab-merge-request/lists"}