Run CircleCI on code hosted in GitHub Enterprise Server (GHES), Forgejo, or Codeberg. These integrations are available now in open beta to all users, so you can keep your Git hosting where it needs to be and still get CircleCI’s build, test, and deploy capabilities.
GitHub Enterprise Server
- Connect your GHES instance from the CircleCI web app using a GitHub App registered on your instance, with no personal access tokens to create or rotate.
- Trigger pipelines from pushes, pull requests, schedules, API calls, and custom webhooks. Commit statuses are reported back to GHES.
- Supports all GHES releases GitHub currently supports. The instance must be reachable over HTTPS from CircleCI Cloud (contact your account team for private connectivity options).
Forgejo and Codeberg
- Supports Forgejo v16 and later, including self-hosted instances, managed services, and Codeberg.
- Trigger pipelines from pushes, pull requests, schedules, API calls, and manual runs. Job pass/fail status is reported to the commit in Forgejo.
- Jobs check out code with short-lived, read-only tokens. Write credentials stay in CircleCI’s backend.
- Moving from GitHub? Your
.circleci/config.ymlcarries over. If your org uses GitHub OAuth, you’ll create a new org and recreate contexts, project settings, environment variables, and cloud trust policies (e.g., AWS OIDC roles).
Works with the rest of CircleCI
- Use managed cloud compute, self-hosted runners, or both in the same workflow.
- Smarter Testing and the managed build tool cache (open beta) are available regardless of where your code is hosted.
Beta limitations
- GHES: no Chunk sidecars, no deployment rollbacks from the web app, no Terraform support for projects, pipeline definitions, and triggers, and no GitHub Checks (PRs show commit statuses).
- Forgejo/Codeberg: no builds from fork PRs, no label-based triggers, builds must be rerun from CircleCI, one commit status per job (no Checks view), no personal failure notifications (project-level notifications work), and v15 LTS isn’t supported.
Get started: Select GitHub Enterprise Server or Forgejo when creating a project in CircleCI. See the GHES integration guide.