How to automatically create a new MR on GitLab with GitLab CI
Blog post from GitLab
At Fleetster, a small team heavily relies on GitLab CI to manage numerous projects efficiently, resulting in over 13,000 commits across 25 projects in a month. To streamline their workflow and prevent code from being forgotten in branches, they implemented an automated script that utilizes GitLab APIs to create merge requests (MR) automatically when a commit is pushed. This script marks the MR as a work in progress, assigns it to the developer, and ensures the branch is not overlooked. Although the script has room for improvement, such as reducing API calls and managing secret tokens better, it exemplifies the power of Continuous Integration in enhancing productivity by automating repetitive tasks. The team at Fleetster continues to use CI for various tasks, including automated software versioning and deployment, while also exploring further automation opportunities. The blog post encourages readers to consider joining Fleetster and invites feedback and questions, highlighting the company's dynamic work environment and appreciation for the GitLab community's contributions.
No tracked trend matches for this post yet.
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.