Skip to content

github/actions-migrations-via-copilot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

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

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

The Reusable Workflow Builder 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.

Choose Your Surface

This project ships the same agents for two GitHub Copilot surfaces. Pick the one that matches how your team works.

Surface Best For How agents are delivered
🌐 Copilot cloud agent Org-wide rollout, batch migrations across many repos, central governance Deployed to your enterprise's .github-private repository. Agents fetch the knowledgebase from knowledge/ at runtime via the GitHub MCP server. β†’ Jump to setup
πŸ’» Copilot CLI Local/interactive use, individual developers, customizing skills for your org Installed as a Copilot CLI plugin. The knowledgebase ships pre-split into composable skills under plugin/β€”no runtime fetch required. β†’ Jump to setup

Both surfaces produce the same deliverables:

  1. .github/workflows/*.yml β€” production-ready, validated workflows
  2. .github/ci-archive/ β€” original files and MIGRATION-README.md preserved for reference
  3. Pull Request β€” migration report in the PR body with validation results, required secrets, next steps, and knowledgebase references

🌐 Using the Copilot Cloud Agent

Agents live in agents/ and reference the knowledgebase in knowledge/ at runtime. They are deployed to your enterprise's .github-private repository so they're available to all internal repos.

Getting started

  1. Deploy β€” Follow the Deployment Guide to set up the agents in your enterprise's .github-private repo.
  2. Migrate β€” Run migrations using the Operations Guide.

Two ways to migrate

Method Best For Guide
Manual Individual repos, testing Operations Guide
Batch Multiple repos, scale Operations Guide

πŸ’» Using the Copilot CLI

The same nine agents are packaged as a Copilot CLI plugin under plugin/, with the knowledgebase pre-split into composable skills. See plugin/README.md for the composition model and full skill catalog.

Option A β€” Install from the marketplace (use as-is)

Fastest path. Use this when you want the agents with the default knowledgebase.

copilot plugin marketplace add github/actions-migrations-via-copilot
copilot plugin install actions-migrator

The marketplace is defined in .github/plugin/marketplace.json.

Option B β€” Install locally (customize skills)

Use this when you want to tailor patterns, action mappings, security guardrails, or report templates to your organization.

git clone https://github.com/github/actions-migrations-via-copilot.git
cd actions-migrations-via-copilot
# edit files under plugin/skills/ to match your org's standards
copilot plugin install ./plugin

How Migration Works

Whichever surface you choose, each agent follows the same five-phase process:

  1. Reads source CI/CD configuration files
  2. References the knowledgebase for conversion patterns
  3. Generates GitHub Actions workflows
  4. Validates with actionlint
  5. Documents all changes in a migration report

Documentation

Guide Purpose
Deployment Guide Set up agents in your enterprise (cloud agent)
Operations Guide Use agents to migrate repositories
Extending Guide Add new CI/CD platforms
Plugin README Copilot CLI plugin details
Contributing Guide Contribute improvements

Project Structure

.
β”œβ”€β”€ agents/                    # Agent definitions (9 migration agents) β€” cloud agent / .github-private deployment
β”œβ”€β”€ docs/                      # Deployment, operations, and extending guides
β”œβ”€β”€ knowledge/                 # Migration knowledgebase (source of truth for cloud agent)
β”‚   β”œβ”€β”€ actions-mapping/       # CI/CD β†’ Actions mappings
β”‚   β”œβ”€β”€ patterns/              # Platform-specific conversion patterns
β”‚   └── report-template/       # Migration report templates
β”œβ”€β”€ plugin/                    # Copilot CLI plugin (agents + composable skills, derived from knowledge/)
β”‚   β”œβ”€β”€ plugin.json
β”‚   β”œβ”€β”€ agents/                # 9 thin agent composers
β”‚   └── skills/                # 11 skills (3 core + 8 platform)
└── .github/
    └── plugin/
        └── marketplace.json   # Copilot CLI plugin marketplace manifest

Detailed structure: See Extending Guide for complete file organization.

Contributing

We welcome contributions! See our guides:

Ways to contribute:

  • Add support for new CI/CD platforms
  • Improve action mappings and patterns
  • Enhance agent accuracy
  • Report issues or suggest improvements

Support

Acknowledgments

Built by GitHub Professional Services for enterprise CI/CD migration programs. Contributions from GitHub's field engineering, solutions architecture, and customer success teams.

About

Migrate to GitHub Actions from multiple other CI/CD systems using Copilot

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors