Skip to content

feat: allow user to import shortlist with --secrets and --vars#481

Merged
lukevmorris merged 2 commits intomainfrom
luke/jj-zqqttryqmzmv
Apr 10, 2026
Merged

feat: allow user to import shortlist with --secrets and --vars#481
lukevmorris merged 2 commits intomainfrom
luke/jj-zqqttryqmzmv

Conversation

@lukevmorris
Copy link
Copy Markdown
Member

@lukevmorris lukevmorris commented Apr 10, 2026

Note

Medium Risk
Adds new CLI flags and proto fields that change the request contract for ImportSecretsAndVars; risk is mainly compatibility if the server/client versions diverge or filtering is misapplied, but scope is limited to the migration flow.

Overview
Adds support for importing only a shortlisted set of GitHub Actions secrets/variables during depot ci migrate secrets-and-vars.

The command now accepts --secrets and --vars (repeatable) and forwards these lists through the ImportSecretsAndVars API (including dry-run preview). The MigrationService ImportSecretsAndVarsRequest proto is extended with include_secrets and include_vars fields (and regenerated Go bindings).

Reviewed by Cursor Bugbot for commit 501543d. Bugbot is set up for automated code reviews on this repo. Configure here.

@lukevmorris lukevmorris merged commit 9e3e058 into main Apr 10, 2026
10 checks passed
@lukevmorris lukevmorris deleted the luke/jj-zqqttryqmzmv branch April 10, 2026 18:57
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