Templates / Automated repository migration from GitLab groups to Gitea organizations

Automated repository migration from GitLab groups to Gitea organizations

Ready for 3.0

by nepomuc · 158 views · created 2025-06-15 · DevOps

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 8 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Setup (CHANGE ME) (Edit Fields (Set)): sets 3 fields: gitlabAccessToken, gitlabGroupPathName, giteaOrganizationPathName
  2. Gitlab: Get projects (HTTP Request): calls an HTTP API
  3. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  4. Gitea: Search for repo (HTTP Request): calls an HTTP API
  5. Switch: routes items into 1 branches
  6. Gitea: Migrate repo (HTTP Request): calls an HTTP API (POST)
  7. Stop and Error: stops the run with an error

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

This flow migrates all repositories of a Gitlab group to a Gitea organization by triggering Gitea's integrated migration tool. Set up steps: 1. Copy this workflow 2. Create an empty Gitea-organization you want to migrate to. (The flow will skip all projects…

Excerpt from nepomuc's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.