Skip to content

feat(ci): add GitHub Actions -> Depot CI migration workflow#429

Draft
paulbalaji wants to merge 13 commits intodepot:mainfrom
paulbalaji:pb/ci-migration
Draft

feat(ci): add GitHub Actions -> Depot CI migration workflow#429
paulbalaji wants to merge 13 commits intodepot:mainfrom
paulbalaji:pb/ci-migration

Conversation

@paulbalaji
Copy link

Summary

  • add new depot ci command group with migrate, secrets, vars, status, and logs
  • implement migration engine for .github -> .depot workflows/actions, compatibility analysis, and secret detection
  • add CI API client + CLI commands for managing CI secrets and variables
  • include unit tests across API, compatibility, and migration flows

Follow-up fixes in this branch

  • honor selected workflows in migrate flow instead of copying all workflows
  • make --yes mode overwrite existing .depot without an extra prompt
  • skip invalid workflow YAML with warnings instead of aborting entire migration
  • align compatibility rules/analysis to current Depot CI beta docs
  • wire depot ci secrets add --description through to API payload
  • handle empty success bodies in CI API request helper

Verification

  • go build ./cmd/depot
  • go test ./...
  • go vet ./...
  • manual command checks for depot ci --help, depot ci migrate --help, depot ci secrets --help, depot ci vars --help, depot ci status, depot ci logs

paulbalaji and others added 13 commits February 17, 2026 12:50
Add foundational type definitions for CI migration:
- compat package: SupportLevel, CompatibilityRule, CompatibilityIssue, CompatibilityReport
- migrate package: WorkflowFile, JobInfo, MigrationPlan, MigrationResult
- All types include JSON serialization tags and comprehensive tests

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Add API types for CI secret and variable management:
- CISecretAddRequest, CISecretBatchAddRequest, CISecretMeta, CISecretListResponse
- CIVariableAddRequest, CIVariableMeta, CIVariableListResponse
- All types include JSON serialization tags for API communication

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant