Skip to content

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

Closed

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

Activity

  1. added
    enhancement
    on May 23, 2026
  2. lex00 commented on May 23, 2026

    @lex00
    ContributorAuthor

    All 13 sub-issues closed; checklist ticked. PR #99 open (draft) with CI green. Awaiting merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions