Skip to content
Guides
On this page
  1. Actions CLI (workflow, run, cache, variable, secret)
  2. Local async CI runner (arks serve)
  3. Honesty
  4. Next

Actions & local CI

arks provides both a native Actions CLI for managing workflows, runs, caches, variables, and encrypted secrets, and an opt-in local async CI runner built into arks serve.

Actions CLI (workflow, run, cache, variable, secret)

Works against GitHub-compatible REST v3 APIs and self-hosted arks serve instances without spawning gh:

# Inspect workflows and trigger runs:
arks workflow list
arks workflow run ci.yml
arks run list
arks run view 12345
arks run download 12345

# Manage repository caches, variables, and encrypted secrets:
arks cache list
arks variable list
arks secret set DEPLOY_KEY --body "..."
  • Pure-Rust secret encryption: arks secret set encrypts values client-side using pure-Rust NaCl/libsodium crypto_box_seal against the host’s public key before transmission.
  • Safe artifact extraction: arks run download validates archive paths against zip-slip traversal before writing to disk.

Local async CI runner (arks serve)

For air-gapped or self-hosted repositories, arks serve includes an opt-in local runner that executes workflows defined under .arks/workflows/*.yml:

arks serve --root /srv/arks/repos --allow-local-actions
  • Auto-trigger & lifecycle: Triggers on push or manual dispatch with configurable timeouts, cancel, and rerun actions.
  • Live logs & artifacts: Streams live run logs via HTMX in the Web UI, stores build artifacts, and exposes GET /repos/{owner}/{repo}/actions/runs.
  • Secrets redaction: Repository secrets managed under /settings/secrets are automatically redacted from run logs.

Honesty

The Actions CLI (including NaCl sealed-box encryption and zip-slip-safe extraction) and the self-hosted arks serve async Actions runner/API are verified in the Docker clean-room suite. Live calls against external third-party GitHub Actions endpoints remain secrets-gated. See Completeness.

Next

Forge Web UI REST API reference Forge client Operations & deploy

Edit this page

Back to top