Automate GitLab Issue Creation for New GitHub Releases with n8n

This workflow automates tracking GitHub releases and creating GitLab issues when a new release lacks an associated issue, saving manual monitoring time and preventing overlooked updates. It ensures your development team stays on track with every upstream release.
github
cron
merge
+2
Workflow Identifier: 2378
NODES in Use: GitHub, Cron, Merge, Function, GitLab
Automate GitHub releases with n8n and GitLab

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Automation Does

This workflow checks for new GitHub releases and makes sure there is a matching open issue in GitLab. It stops duplicate issues and saves time by doing this automatically every week.

The workflow fetches the latest release info from GitHub, then lists all open issues in GitLab. It looks for a matching issue title using the release tag. If none is found, it makes a new GitLab issue with release details.

This stops missed updates and repeated work. The result is quicker patch tracking and less manual review.


Tools and Services Used

  • GitHub API: Used to get the latest release information.
  • GitLab API: Used to list current issues and create new issues if needed.
  • n8n Automation Platform: Runs the automation workflow on schedule.

Inputs, Processing Steps, and Output

Inputs:

  • GitHub repository releases via API.
  • GitLab project issues via API.

Processing Steps:

  • Fetch the newest release from GitHub limiting results to one.
  • Retrieve all open issues from the GitLab project.
  • Merge these two data streams to compare releases and issues together.
  • Run a function to find if any issue title includes the latest release tag.
  • If no matching issue exists, prepare data for issue creation.

Output:

  • Creates a new GitLab issue describing the new release if none exists.
  • Otherwise, ends without action, avoiding duplicates.

Beginner Step-by-Step: How to Use This Workflow in n8n

Import Workflow

  1. Download the workflow file by clicking the Download button on this page.
  2. Open your n8n editor where workflows are created.
  3. Use the Import from File option to load the downloaded workflow.

Configure Workflow

  1. Add your GitHub API credentials to the GitHub node.
  2. Add your GitLab API credentials to the GitLab nodes.
  3. If needed, update the repository owner and name for GitHub and project details for GitLab.
  4. Adjust labels, assignee, or issue template content in the create issue node if desired.

Test and Activate

  1. Run the workflow once manually to check it works as expected.
  2. Look at outputs to confirm latest release and issues are fetched correctly.
  3. Activate the Cron node to start weekly automatic checks.
  4. Save and activate the entire workflow so it triggers regularly.

Use self-host n8n if running the automation on your own server.


Common Problems and Solutions

Problem: Function node gives “Invalid release count: 0” error.

Cause: GitHub node returned no releases or failed to connect.

Fix: Check GitHub API credentials and repository access. Run single GitHub node to verify data retrieval.

Problem: GitLab node shows no issues.

Cause: Wrong project details or insufficient permissions.

Fix: Verify GitLab project owner and repository. Confirm API credentials have issue-listing rights.


Customization Ideas

  • Change the Cron node frequency to daily or monthly.
  • Edit issue body in the GitLab create node to add release author or changelog details.
  • Add a Slack or Email node after issue creation for team notifications.
  • Modify the JavaScript in the function node to filter releases by tag pattern.

Summary of Benefits

✓ Automates weekly release monitoring between GitHub and GitLab.

✓ Prevents duplicated GitLab issues for the same release.

✓ Ensures no new releases are missed.

✓ Saves hours of manual checking time.

→ Results in faster patching and better project tracking.


Automate GitHub releases with n8n and GitLab

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

The workflow compares the latest GitHub release tag with titles of open GitLab issues and only creates a new issue if no matching title is found.
GitHub credentials must access repository releases. GitLab credentials need rights to list and create issues in the target project.
Yes. The Cron node can be set to run daily, weekly, or monthly based on user preference.
Import the workflow into an instance of self-host n8n and configure credentials to run it continuously.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.