GitHub Actions Migration Agents
Enterprise-grade GitHub Copilot Agents that automatically migrate CI/CD pipelines from virtually any platform to GitHub Actions—powered by a comprehensive knowledgebase of migration patterns and best practices.
Why This Project?
Organizations migrating to GitHub Actions face:
- Inconsistent migrations across teams
- Loss of domain knowledge during manual conversions
- Security oversights with credentials
- Time-consuming manual work
- Lack of validation leading to broken workflows
This project delivers:
- ⚡ Faster than manual migration
- 🎯 Consistent quality using documented best practices
- ✅ Built-in validation with actionlint
- 📊 Complete documentation of every decision
- 🔄 Reusable patterns for future migrations
How It Works
Migration agents are GitHub Copilot Custom Agents deployed to your enterprise's .github-private repository. Each agent:
- Reads source CI/CD configuration files
- References the knowledgebase for conversion patterns
- Generates GitHub Actions workflows
- Validates with actionlint
- Documents all changes in a migration report
Knowledgebase-driven: Agents fetch patterns, security guidelines, and action mappings from knowledge/ during each migration, ensuring consistent, up-to-date conversions.
Available Migration Agents
| Agent | Migrates From | Handles |
|---|---|---|
| Jenkins Migrator | Jenkinsfile | Pipelines, shared libraries, Groovy scripts |
| Azure DevOps Migrator | azure-pipelines.yml | YAML pipelines, templates, variable groups |
| CircleCI Migrator | .circleci/config.yml | Workflows, jobs, Orbs |
| GitLab Migrator | .gitlab-ci.yml | Pipelines, includes, Pages |
| Travis CI Migrator | .travis.yml | Build matrix, deploy providers |
| Bamboo Migrator | bamboo-specs.yml | Build plans, deployment projects |
| Bitbucket Migrator | bitbucket-pipelines.yml | Pipelines, Pipes |
| Drone CI Migrator | .drone.yml | Pipelines, plugins |
| Reusable Workflow Builder | GitHub Actions across orgs | Pattern analysis, reusable workflows |
Reusable Workflow Builder
This unique agent scans multiple GitHub organizations, detects common CI/CD patterns (Node.js builds, AWS deployments, Docker workflows), and generates standardized reusable workflows—reducing duplication and capturing organizational best practices.
What You Get
Every migration produces:
.github/workflows/*.yml- Production-ready, validated workflows.github/ci-archive/- Original files andMIGRATION-README.mdpreserved for reference- Pull Request - Migration report included in the PR body (mirroring
MIGRATION-README.md) with:- Validation results
- Required secrets
- Next steps
- Knowledgebase references
Getting Started
Quick Start
- Deploy - Follow the Deployment Guide to set up agents in your enterprise
- Migrate - Use the Operations Guide to run migrations
- Extend - Add new platforms using the Extending Guide
Two Ways to Migrate
| Method | Best For | Guide |
|---|---|---|
| Manual | Individual repos, testing | Operations Guide |
| Batch | Multiple repos, scale | Operations Guide |
Documentation
| Guide | Purpose |
|---|---|
| Deployment Guide | Set up agents in your enterprise |
| Operations Guide | Use agents to migrate repositories |
| Extending Guide | Add new CI/CD platforms |
| Contributing Guide | Contribute improvements |
Project Structure
.
├── agents/ # Agent definitions (9 migration agents)
├── docs/ # Deployment, operations, and extending guides
├── knowledge/ # Migration knowledgebase
│ ├── actions-mapping/ # CI/CD → Actions mappings
│ ├── patterns/ # Platform-specific conversion patterns
│ └── report-template/ # Migration report templates
└── .github/ # Automation workflows
Detailed structure: See Extending Guide for complete file organization.
Contributing
We welcome contributions! See our guides:
- CONTRIBUTING.md - General contribution guidelines
- Extending Guide - Add new CI/CD platforms or improve agents
Ways to contribute:
- Add support for new CI/CD platforms
- Improve action mappings and patterns
- Enhance agent accuracy
- Report issues or suggest improvements
Support
- Documentation - Deployment | Operations | Extending
- Discussions - Ask questions and share experiences
- Issues - Report bugs or request features
- GitHub Actions Docs - Official documentation
Acknowledgments
Built by GitHub Professional Services for enterprise CI/CD migration programs. Contributions from GitHub's field engineering, solutions architecture, and customer success teams.