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.
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.
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Related bundle
HR & Recruitment Pipeline
7 hand-picked workflows for $39.00.
That is $5.57 each, vs $19.99 for this one alone.
View bundleSecure checkout powered by Stripe
Tags
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Human Resources workflows
- Automatic Job Listings Extraction and Publishing Template$24.99
- SEO Blog Publishing for Jekyll: GPT-4, GitHub & Social Sharing$24.99
- Scrape Recent Company News from Calendar for Sales Calls$14.99
- Send SMS/WhatsApp Messages with Twilio$4.99
- Postgres: Create Table and Insert Sample Data$8.99
- WhatsApp Message Auto-Logger for Vtiger CRM with Lead Relation$19.99
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.