Skip to content
docs
type to search↑↓ move↵ openesc close
v0.2.1github

Connect GitHub Actions

1 min readv0.2.1this page as markdown
let your agent do it
Add a Hermitbox step to my GitHub Actions workflow.
Paste it into your agent. It follows this page as Markdown: github-actions.md

Run a command in a Hermitbox sandbox from a GitHub Actions workflow step. The Action creates the sandbox, runs the command and deletes the sandbox.

  1. Host Hermitbox at an address your Actions runner can reach; hosted runners cannot reach a private loopback install.
  2. Set repository Actions variable HERMITBOX_API_URL and secret HERMITBOX_API_KEY. Set variable HERMITBOX_IMAGE to alpine:3.22 for containers; leave it empty for process or Wasm.
  3. Put this step in a workflow job. The Action runs echo hello and deletes its sandbox.
yaml
- uses: hermitbox/hermitbox/action@v0.2.1
  with:
    url: ${{ vars.HERMITBOX_API_URL }}
    key: ${{ secrets.HERMITBOX_API_KEY }}
    image: ${{ vars.HERMITBOX_IMAGE }}
    run: echo hello

The Action’s tag follows the repository’s release version. Images need the container tier. An empty image selects the host’s default tier and never substitutes a weaker isolation. See the Action inputs and tier boundaries.

run it yourself
$curl -fsSL https://hbx.sh | sh
or ask your agent
Install Hermitbox and set it up for me
Linux (x86_64 or aarch64), no root, no Docker. Agents can read every page: llms.txt · llms-full.txt
the floor · nothing below this line