We are trying to import our GHA secrets and variables into Depot CI.
The migrate secrets-and-vars subcommand fails when it tries to automatically create the workflow. Although there's no debug mode to confirm, I suspect behind the scenes it's failing to push because of a branch name ruleset we have.
$ depot ci migrate secrets-and-vars
This will push a GitHub Actions workflow to ClearToken/core on a temporary branch.
The workflow runs immediately, reads your existing secrets and variables,
and imports them into Depot CI. The branch is safe to delete afterwards.
Error: failed to import secrets and variables: internal: internal error
Instead I copied the workflow it generated and manually pushed it to a branch.
The workflow fails and says that the Depot token is invalid:
Error: failed to add CI variable: unauthenticated: Invalid token
Error: Process completed with exit code 1.
The repository this workflow ran in has a DEPOT_TOKEN secret and it's a valid token. I created this token under Organization settings in the UI.
Depot CLI version:
depot version 2.101.31 (2026-03-25)
https://github.com/depot/cli/releases/tag/v2.101.31
We are trying to import our GHA secrets and variables into Depot CI.
The
migrate secrets-and-varssubcommand fails when it tries to automatically create the workflow. Although there's no debug mode to confirm, I suspect behind the scenes it's failing to push because of a branch name ruleset we have.Instead I copied the workflow it generated and manually pushed it to a branch.
The workflow fails and says that the Depot token is invalid:
The repository this workflow ran in has a
DEPOT_TOKENsecret and it's a valid token. I created this token underOrganization settingsin the UI.Depot CLI version: