Migrate from GitHub
Codebahn runs GitHub Actions-compatible workflows, supports the same SSH keys, and uses standard Git operations. Migration is straightforward.
Repositories
Section titled “Repositories”Use Codebahn’s built-in migration tool to import repositories from GitHub, including issues, pull requests, and releases.
- Sign in to your Codebahn instance
- Click New Migration (or the + menu > New Migration)
- Select GitHub as the source
- Enter the repository URL and a personal access token with
reposcope - Choose what to import (code, issues, pull requests, releases, labels)
For full migration options, see the upstream migration documentation.
CI workflows
Section titled “CI workflows”Your .github/workflows/ files work on Codebahn without changes. Actions are resolved from GitHub by default, so uses: actions/checkout@v4 works as-is.
Codebahn also reads workflows from .codebahn/workflows/, .forgejo/workflows/, and .gitea/workflows/. See Workflow directories for the full precedence order.
SSH keys
Section titled “SSH keys”Add your SSH keys under Settings > SSH / GPG Keys. The process is identical to GitHub.
Keeping GitHub as a mirror
Section titled “Keeping GitHub as a mirror”If you want to keep GitHub as a read-only backup while using Codebahn as your primary remote, configure origin to push to both:
git remote set-url --push origin git@codebahn.net:your-org/your-repo.gitgit remote set-url --add --push origin git@github.com:your-org/your-repo.gitThe first command sets Codebahn as the push URL. The second adds GitHub alongside it. Every git push origin main now pushes to both.
Once you are confident in Codebahn, remove the GitHub push URL or set up the built-in push mirror under Repository Settings > Mirror.
Migrating an organisation
Section titled “Migrating an organisation”To migrate multiple repositories at once:
- Create your organisation on Codebahn first (+ > New Organisation)
- Run individual migrations for each repository, selecting the org as the owner
- Invite your team members to the org after migration
There is no bulk-import tool yet. Migrate repositories one at a time through the UI, or script it using the migration API.