Loading...
Loading...
Configures and manages Depot CI, a drop-in replacement for GitHub Actions that runs workflows entirely within Depot. Use when migrating GitHub Actions workflows to Depot CI, running `depot ci migrate`, managing Depot CI secrets and variables, running workflows with `depot ci run`, debugging Depot CI runs, checking workflow compatibility, or understanding Depot CI's current beta limitations. Also use when the user mentions .depot/ directory, depot ci commands, or asks about running GitHub Actions workflows on Depot's infrastructure without GitHub-hosted runners. NOTE: Depot CI is currently in beta with limited availability.
npx skill4agent add depot/skills depot-cidepot ci migrate.github/workflows/.depot/workflows/.github/actions/.depot/actions/.github/depot ci migrate --yes \
--secret NPM_TOKEN=npm_abc123 \
--secret DATABASE_URL=postgres://... \
--var SERVICE_NAME=api \
--org my-org-id| Flag | Description |
|---|---|
| Non-interactive, migrate all workflows |
| Pre-supply secret (repeatable) |
| Pre-supply variable (repeatable) |
| Overwrite existing |
| Organization ID (required if multiple orgs) |
| Depot API token |
.depot/workflows/.depot/actions/.github/workflows/# Add (prompts for value securely if --value omitted)
depot ci secrets add SECRET_NAME
depot ci secrets add SECRET_NAME --value "my-secret-value" --description "NPM auth token"
# List (names and metadata only, no values)
depot ci secrets list
depot ci secrets list --output json
# Remove
depot ci secrets remove SECRET_NAME
depot ci secrets remove SECRET_NAME --force # Skip confirmationcurl -X POST https://api.depot.dev/depot.ci.v1.SecretService/AddSecret \
-H "Authorization: Bearer ${DEPOT_TOKEN}" \
-H "Content-Type: application/json" \
-d '{"name": "NPM_TOKEN", "value": "npm_abc123..."}'
# Batch add
curl -X POST https://api.depot.dev/depot.ci.v1.SecretService/BatchAddSecrets \
-H "Authorization: Bearer ${DEPOT_TOKEN}" \
-H "Content-Type: application/json" \
-d '{"secrets": [{"name": "NPM_TOKEN", "value": "npm_abc123..."}, {"name": "DB_PASS", "value": "secret"}]}'${{ vars.VARIABLE_NAME }}depot ci vars add VAR_NAME --value "some-value"
depot ci vars list
depot ci vars list --output json
depot ci vars remove VAR_NAME
depot ci vars remove VAR_NAME --force# Run a workflow
depot ci run --workflow .depot/workflows/ci.yml
# Run specific jobs only
depot ci run --workflow .depot/workflows/ci.yml --job build --job test
# Debug with SSH (tmate session after step N, requires single --job)
depot ci run --workflow .depot/workflows/ci.yml --job build --ssh-after-step 3# Check run status (shows workflows → jobs → attempts hierarchy)
depot ci status <run-id>
# Fetch logs for a specific job attempt
depot ci logs <attempt-id>namerun-nameonenvdefaultsjobson.workflow_callpushpull_requestpull_request_targetscheduleworkflow_callworkflow_dispatchworkflow_runnameneedsifoutputsenvdefaultstimeout-minutesstrategycontinue-on-errorcontainerservicesuseswithsecretssecrets.inheritstepsidnameifusesrunshellwithenvworking-directorycontinue-on-errortimeout-minutesgithubenvvarssecretsneedsstrategymatrixstepsjobrunnerinputsalways()success()failure()cancelled()contains()startsWith()endsWith()format()join()toJSON()fromJSON()concurrencyhashFiles()permissionsactionscheckscontentsmetadatapull_requestsstatusesworkflowsid-tokenusespull_requestpull_request_targetdepot-ubuntu-latestid-tokenreleaseissuesissue_commentdeploymentcreatedeletemerge_groupdepot-ubuntu-24.04-8depot-ubuntu-latestyour-repo/
├── .github/
│ ├── workflows/ # Original GHA workflows (keep running)
│ └── actions/ # Local composite actions
├── .depot/
│ ├── workflows/ # Depot CI copies of workflows
│ └── actions/ # Depot CI copies of local actions| Mistake | Fix |
|---|---|
Removing | Keep them — run both in parallel during beta |
| Using cross-repo reusable workflows | Not supported yet — inline the workflow or copy it locally |
| Expecting OIDC to work | Not supported yet — use |
| Setting per-repo secrets | Secrets are org-scoped only — same value across all repos |
Forgetting | Migration will fail — always specify |
Workflows with | Treated as |