kosa8 docs Dashboard
esc
↑ ↓ move↵ openRuns in your browser; nothing you type is sent anywhere.

CLI / ci / run

kosa8 ci run

Start a pipeline run and follow its logs

Starts a run of a repository at a ref (default: this checkout's origin and branch; push first: the run clones from the git host, not from this machine). Prints the logs as they come and exits non-zero unless the run succeeds; --detach prints the run's ID and returns.

A GitHub repo of your connection (kosa8 github repos) needs no --token-secret: the kosa8 GitHub App clones it with a read-only token for that one run and reports the result on the commit. --token-secret is for other repos (and other hosts).

Options#

FlagTypeWhat it doesDefault
--detachboolprint the run's ID and return—
--eventstringpush, pull_request, workflow_dispatch (default) or schedule—
--inputstringArrayworkflow_dispatch input NAME=value; repeat[]
--jobstringact runs: one job id—
--refstringbranch, tag or SHA (default: this checkout's branch)—
--repostringOWNER/NAME of a connected GitHub repo, or an https:// clone URL (default: this checkout's origin)—
--secretstringArraya kosa8 secret (made with pipelines: true) to give the jobs; repeat[]
--sizestringact runs: the sandbox size, such as 4x8—
--status-secretstringa secret with a GitHub token that sets the commit's status—
--timeoutdurationthe run's limit (default 1h, at most 6h)0s
--token-secretstringa secret with a token that can clone the repository (private repos outside your GitHub connection)—
--workflowstringact runs: one file in .github/workflows, such as ci.yml—

Example#

  kosa8 ci run --repo https://github.com/acme/app
  kosa8 ci run --repo https://github.com/acme/app --ref main --job test --size 4x8
  kosa8 ci run --repo https://github.com/acme/app --secret npm-token --detach

The kosa8 weekly

Agent security news, one industry deep-dive and a hands-on challenge, every Monday. Unsubscribe in one click.

© 2026 kosa8 · kosa8.com · Zero Trust cybersecurity infrastructure for AI agents · Local models served by llamay · Agent gateway: MAQPNA