Skip to main content
A task clones a public repository’s default branch, runs your command in it and keeps the artifacts you name. It bills from start to finish; waiting in the queue is free.
ci.mjs
There is no ref or env option: put git fetch --depth 1 origin <ref> && git checkout FETCH_HEAD && … or FOO=bar … in the command. To build private code, use a sandbox and send the code in.

Why a task failed

Branch CI on failureReason: Every field, state and limit is in the Tasks API reference.