This n8n workflow automates the process of monitoring GitHub releases and creating corresponding issues in GitLab, streamlining release management and communication. Triggered weekly via a cron schedule, the workflow fetches the latest release information from GitHub, checks for existing related issues in GitLab, and creates a new issue if none exists.
The workflow begins with a cron trigger set to run weekly, initiating the process. It fetchs the most recent release from a specified GitHub repository using the ‘GitHub’ node. Next, it retrieves all current issues from a GitLab repository. A merge node then combines these data streams for comparison.
A function node evaluates whether an existing issue corresponds to the latest release by matching release tags with issue titles. If such an issue exists, the workflow halts. Otherwise, it proceeds to create a new GitLab issue containing details about the release, including URL and description.
This workflow is highly useful for development teams needing to automate release tracking, ensuring that reports or discussions about releases are systematically created without manual intervention, reducing errors and saving time.
Reviews
There are no reviews yet.