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

Connect GitHub Actions

1 min readv0.3.2this 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 workflow’s command in a fresh sandbox on your own Hermitbox, from one 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 can’t reach a private loopback install.
  2. Set the repository Actions variable HERMITBOX_API_URL and the secret HERMITBOX_API_KEY. For containers, set the variable HERMITBOX_IMAGE to alpine:3.22; for process or Wasm, leave it empty.
  3. Put this step in a workflow job. The Action runs echo hello and deletes its sandbox.
yaml
- uses: hermitbox/hermitbox/action@v0.3.2
  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. An image needs the container tier. With the image empty, the command runs on the host’s default tier, and a weaker isolation is never substituted. 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