Depot CI API returns the Git ref for push runs
16 NOV, 2026
For runs started by a push, the ref field in the Depot CI API now returns the Git ref, such as refs/heads/main, as the API docs always described. Before this change it returned the commit SHA. This applies to ListRuns, GetRun, and related calls, and to the same data in depot ci run list -o json and the MCP list_ci_runs tool. Past runs are updated too.
If you read ref to get the commit, use the sha field instead. It is unchanged.