Skip to content

feat: chant migrate command (GitHub Actions → GitLab CI/CD) #97

@lex00

Description

@lex00

Tracking issue for a typed, IR-driven migration tool from GitHub Actions to GitLab CI/CD, replacing the freehand-LLM approach that gitlab-org/ci-cd/github-actions-to-gitlab-ci uses today.

Both lexicons already ship YAML parsers, IR, code generators, typed constructors, and lint rules. This work wires them together: GH yaml → GH IR → GitLab IR (new transformer) → GitLab yaml or chant TS, with per-node provenance recorded as SARIF.

The end-state CLI:

npx @intentius/chant-lexicon-gitlab migrate \
  .github/workflows/ci.yml \
  --emit yaml --output .gitlab-ci.yml \
  --report migration-report.sarif

Sub-issues

Deferred to follow-ups: composite actions (.github/actions/*/action.yml), reusable workflows with inputs:/outputs:, multi-file workflow trees, reverse direction (GitLab→GitHub), extraction to @intentius/chant-migrate.

Inspired by

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions