Automated GitLab Group to Gitea Org Repo Migration

Migrates all repositories from a GitLab group to a Gitea organization using Gitea's migration tool. Skips duplicates and handles errors automatically.

n8n
Automated GitLab Group to Gitea Org Repo Migration

This n8n workflow automates the bulk migration of repositories from a GitLab group to a Gitea organization. It starts with a manual trigger, where you configure the GitLab group path, Gitea organization, and access tokens. The workflow fetches all repositories from the specified GitLab group, then uses a loop (SplitInBatches) to process each one individually. For every repo, it calls Gitea's migration API to transfer the repository, skipping any that already exist by name in the target organization. A switch node handles various error codes, ensuring robust execution even if some migrations fail.

Setup is straightforward: copy the workflow, create a target Gitea organization, generate and configure Header Auth credentials for both GitLab (PRIVATE-TOKEN) and Gitea (Authorization: token), then edit the initial Set node with your tokens, GitLab group path (URL-friendly), and Gitea org name. Execute the workflow to start the migration process, monitoring progress via n8n's interface.

Benefits include massive time savings over manual migrations, especially for large groups with dozens of repos, reducing risk of human error and downtime. Ideal use cases: transitioning from GitLab to self-hosted Gitea for cost/privacy reasons, consolidating repositories during mergers or team restructures, or archiving/moving projects between platforms. Perfect for DevOps teams, open-source maintainers, or enterprises optimizing their Git infrastructure.

$19.99
Last updated August 29, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Human Resources workflows

More from Saskia Kowalczyk

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.