How to Use GitHub Actions Importer to Migrate Pipelines
GitHub Actions Importer is a gh CLI extension that audits your existing CI and generates draft Actions workflows you review before committing.
Install the actions-importer gh extension, run audit to see how much converts automatically, then dry-run to generate draft workflows. It supports Jenkins, GitLab, CircleCI, Azure DevOps, Travis, and Bitbucket.
Concept mapping
| Command | What it does |
|---|---|
audit | reports how much of each pipeline is convertible |
forecast | estimates runner usage from history |
dry-run | writes draft workflows without pushing |
migrate | opens a PR with the converted workflow |
Install and dry-run
Terminal
gh extension install github/gh-actions-importer
gh actions-importer configure
gh actions-importer dry-run gitlab \
--gitlab-url https://gitlab.example.com \
--namespace my-group/my-project \
--output-dir ./outWhat does not map cleanly
- The importer converts the common cases; it marks unsupported items with
TODOcomments you must finish by hand. - Custom plugins, orbs, and shared libraries usually need manual replacement.
- Always review the generated workflow; treat it as a draft, not a finished pipeline.
Related guides
How to Migrate CI Incrementally by Running Both in ParallelCut over from another CI to GitHub Actions safely by running both pipelines in parallel, comparing results, a…
CI Concept Mapping to GitHub ActionsA cross-tool mapping of common CI concepts (matrix, cache, artifacts, secrets, services, conditionals, manual…